pub struct Header {
pub service: Service,
pub request: u8,
pub msg_type: MsgType,
pub sequence: u32,
}Expand description
Data precluding an RPC payload, describing which RPC it is and other metadata
Fields§
§service: Service§request: u8§msg_type: MsgType§sequence: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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