pub struct BlockSet { /* private fields */ }Expand description
A compact bitset tracking which blocks the receiver has verified good.
Used identically by the upload receiver (server) and the download receiver (client) so both directions share the same “mark good / mark bad / ask for missing” logic.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockSet
impl RefUnwindSafe for BlockSet
impl Send for BlockSet
impl Sync for BlockSet
impl Unpin for BlockSet
impl UnsafeUnpin for BlockSet
impl UnwindSafe for BlockSet
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