pub struct BinaryFrame {
pub kind: BinaryFrameKind,
pub id: u64,
pub header: Vec<u8>,
pub payload: Vec<u8>,
}Expand description
One decoded protocol-2 frame.
Fields§
§kind: BinaryFrameKind§id: u64Host-assigned request id, never 0. A response carries the id of the call it answers.
header: Vec<u8>§payload: Vec<u8>Trait Implementations§
Source§impl Clone for BinaryFrame
impl Clone for BinaryFrame
Source§impl Debug for BinaryFrame
impl Debug for BinaryFrame
impl Eq for BinaryFrame
Source§impl PartialEq for BinaryFrame
impl PartialEq for BinaryFrame
impl StructuralPartialEq for BinaryFrame
Auto Trait Implementations§
impl Forget for BinaryFrame
impl Freeze for BinaryFrame
impl Move for BinaryFrame
impl RefUnwindSafe for BinaryFrame
impl Send for BinaryFrame
impl Sync for BinaryFrame
impl Unpin for BinaryFrame
impl UnsafeUnpin for BinaryFrame
impl UnwindSafe for BinaryFrame
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