pub enum NotificationError<E>{
Other(E, usize),
DeserializeError(Bytes),
}Expand description
Errors when retrieving Notifications
Variants§
Trait Implementations§
Source§impl<E> Debug for NotificationError<E>
impl<E> Debug for NotificationError<E>
Source§impl<E> Display for NotificationError<E>
impl<E> Display for NotificationError<E>
Source§impl<E> Fail for NotificationError<E>
impl<E> Fail for NotificationError<E>
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl<E> !Freeze for NotificationError<E>
impl<E> RefUnwindSafe for NotificationError<E>where
E: RefUnwindSafe,
impl<E> Send for NotificationError<E>
impl<E> Sync for NotificationError<E>
impl<E> Unpin for NotificationError<E>where
E: Unpin,
impl<E> UnsafeUnpin for NotificationError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for NotificationError<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