Struct hypercore_protocol::schema::Want
source · pub struct Want {
pub start: u64,
pub length: u64,
}
Expand description
Want message. Type 5.
Fields§
§start: u64
Start index
length: u64
Length
Trait Implementations§
source§impl PartialEq for Want
impl PartialEq for Want
impl StructuralPartialEq for Want
Auto Trait Implementations§
impl RefUnwindSafe for Want
impl Send for Want
impl Sync for Want
impl Unpin for Want
impl UnwindSafe for Want
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