Struct hypercore_protocol::schema::Unwant
source · pub struct Unwant {
pub start: u64,
pub length: u64,
}
Expand description
Un-want message. Type 6.
Fields§
§start: u64
Start index
length: u64
Length
Trait Implementations§
source§impl CompactEncoding<Unwant> for State
impl CompactEncoding<Unwant> for State
source§impl PartialEq for Unwant
impl PartialEq for Unwant
impl StructuralPartialEq for Unwant
Auto Trait Implementations§
impl Freeze for Unwant
impl RefUnwindSafe for Unwant
impl Send for Unwant
impl Sync for Unwant
impl Unpin for Unwant
impl UnwindSafe for Unwant
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)