pub enum RemoteStreamError<E> {
Remote(RemoteCommandError),
Consumer(E),
}Variants§
Remote(RemoteCommandError)
Consumer(E)
Trait Implementations§
Source§impl<E: Debug> Debug for RemoteStreamError<E>
impl<E: Debug> Debug for RemoteStreamError<E>
Source§impl<E> From<RemoteCommandError> for RemoteStreamError<E>
impl<E> From<RemoteCommandError> for RemoteStreamError<E>
Source§fn from(error: RemoteCommandError) -> Self
fn from(error: RemoteCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for RemoteStreamError<E>where
E: Freeze,
impl<E> RefUnwindSafe for RemoteStreamError<E>where
E: RefUnwindSafe,
impl<E> Send for RemoteStreamError<E>where
E: Send,
impl<E> Sync for RemoteStreamError<E>where
E: Sync,
impl<E> Unpin for RemoteStreamError<E>where
E: Unpin,
impl<E> UnsafeUnpin for RemoteStreamError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for RemoteStreamError<E>where
E: UnwindSafe,
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