Struct hypercore_protocol::schema::Range
source · pub struct Range {
pub drop: bool,
pub start: u64,
pub length: u64,
}
Expand description
Range message. Type 8.
Fields§
§drop: bool
If true, notifies that data has been cleared from this range. If false, notifies existing data range.
start: u64
Start index
length: u64
Length
Trait Implementations§
source§impl CompactEncoding<Range> for State
impl CompactEncoding<Range> for State
source§impl PartialEq for Range
impl PartialEq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
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
)