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 PartialEq for Range
impl PartialEq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
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