Enum rust_ipfs::p2p::bitswap::BitswapResult
source · pub enum BitswapResult {
Response {
peer_id: PeerId,
connection_id: ConnectionId,
message: Message,
},
Cancel {
message: Message,
},
EmptyResponse,
}Variants§
Auto Trait Implementations§
impl Freeze for BitswapResult
impl RefUnwindSafe for BitswapResult
impl Send for BitswapResult
impl Sync for BitswapResult
impl Unpin for BitswapResult
impl UnwindSafe for BitswapResult
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