Struct Head
pub struct Head {
pub id: u64,
pub shard: u32,
pub epoch: u64,
}Expand description
Header of every request after the kind byte: id, shard, epoch.
Fields§
§id: u64§shard: u32§epoch: u64Trait Implementations§
impl Copy for Head
impl Eq for Head
impl StructuralPartialEq for Head
Auto Trait Implementations§
impl Forget for Head
impl Freeze for Head
impl Move for Head
impl RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Head
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