pub struct Frame<'a> {
pub kind: Kind,
pub peer: Uuid,
pub id: Uuid,
pub payload: &'a [u8],
}Fields§
§kind: Kind§peer: Uuid§id: Uuid§payload: &'a [u8]Implementations§
Trait Implementations§
impl<'a> Copy for Frame<'a>
impl<'a> Eq for Frame<'a>
impl<'a> StructuralPartialEq for Frame<'a>
Auto Trait Implementations§
impl<'a> Forget for Frame<'a>
impl<'a> Freeze for Frame<'a>
impl<'a> Move for Frame<'a>
impl<'a> RefUnwindSafe for Frame<'a>
impl<'a> Send for Frame<'a>
impl<'a> Sync for Frame<'a>
impl<'a> Unpin for Frame<'a>
impl<'a> UnsafeUnpin for Frame<'a>where
&'a [u8]: UnsafeUnpin,
impl<'a> UnwindSafe for Frame<'a>where
&'a [u8]: UnwindSafe,
Blanket Implementations§
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