pub struct WireFrame {
pub kind: FrameKind,
pub payload: Vec<u8>,
}Expand description
One frame.
Fields§
§kind: FrameKindWhat the payload holds.
payload: Vec<u8>The payload.
Implementations§
Trait Implementations§
impl Eq for WireFrame
impl StructuralPartialEq for WireFrame
Auto Trait Implementations§
impl Forget for WireFrame
impl Freeze for WireFrame
impl Move for WireFrame
impl RefUnwindSafe for WireFrame
impl Send for WireFramewhere
RawVecInner: Send,
impl Sync for WireFramewhere
RawVecInner: Sync,
impl Unpin for WireFrame
impl UnsafeUnpin for WireFrame
impl UnwindSafe for WireFramewhere
RawVecInner: 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