pub enum ReceiveMultiStreamNextError {
Shutdown,
DecodeItem(DecodeError),
}
Variants§
Shutdown
DecodeItem(DecodeError)
Trait Implementations§
Source§impl<E: Debug> From<ReceiveMultiStreamNextError> for MultiStreamTryCollectError<E>
impl<E: Debug> From<ReceiveMultiStreamNextError> for MultiStreamTryCollectError<E>
Source§fn from(other: ReceiveMultiStreamNextError) -> Self
fn from(other: ReceiveMultiStreamNextError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReceiveMultiStreamNextError
impl RefUnwindSafe for ReceiveMultiStreamNextError
impl Send for ReceiveMultiStreamNextError
impl Sync for ReceiveMultiStreamNextError
impl Unpin for ReceiveMultiStreamNextError
impl UnwindSafe for ReceiveMultiStreamNextError
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