pub enum BitswapCommand {
SendResponse {
peer: PeerId,
responses: Vec<ResponseType>,
},
}Expand description
Commands sent from the user to Bitswap.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BitswapCommand
impl RefUnwindSafe for BitswapCommand
impl Send for BitswapCommand
impl Sync for BitswapCommand
impl Unpin for BitswapCommand
impl UnwindSafe for BitswapCommand
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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