pub enum RefreshMsg {
Ping([u8; 32]),
Pong([u8; 32]),
}
Variants§
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for RefreshMsg
impl<'__de> BorrowDecode<'__de> for RefreshMsg
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for RefreshMsg
impl Clone for RefreshMsg
Source§fn clone(&self) -> RefreshMsg
fn clone(&self) -> RefreshMsg
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RefreshMsg
impl Debug for RefreshMsg
Source§impl Decode for RefreshMsg
impl Decode for RefreshMsg
Auto Trait Implementations§
impl Freeze for RefreshMsg
impl RefUnwindSafe for RefreshMsg
impl Send for RefreshMsg
impl Sync for RefreshMsg
impl Unpin for RefreshMsg
impl UnwindSafe for RefreshMsg
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more