Enum nash_protocol::protocol::ErrorOrData [−][src]
pub enum ErrorOrData<T> {
Data(T),
Error(ErrorResponse),
}
Variants
Data(T)
Error(ErrorResponse)
Tuple Fields
Auto Trait Implementations
impl<T> RefUnwindSafe for ErrorOrData<T> where
T: RefUnwindSafe,
impl<T> Send for ErrorOrData<T> where
T: Send,
impl<T> Sync for ErrorOrData<T> where
T: Sync,
impl<T> Unpin for ErrorOrData<T> where
T: Unpin,
impl<T> UnwindSafe for ErrorOrData<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more