pub struct Range {
pub drop: bool,
pub start: u64,
pub length: u64,
}
Expand description
Range message. Type 8. Notifies Peer’s that the Sender has a range of contiguous blocks.
Fields§
§drop: bool
If true, notifies that data has been cleared from this range. If false, notifies existing data range.
start: u64
Range starts at this index
length: u64
Length of the range
Trait Implementations§
Source§impl CompactEncoding<Range> for State
impl CompactEncoding<Range> for State
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