pub enum BitswapEvent {
Request {
peer: PeerId,
cids: Vec<(Cid, WantType)>,
},
}
Expand description
Events emitted by the bitswap protocol.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BitswapEvent
impl RefUnwindSafe for BitswapEvent
impl Send for BitswapEvent
impl Sync for BitswapEvent
impl Unpin for BitswapEvent
impl UnwindSafe for BitswapEvent
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