pub enum ActivateError<T> {
SourceActivationError(SourceError),
SlotActivationError(SlotError<T>),
NotConnected,
}
Variants§
Trait Implementations§
Source§impl<T: Debug> Debug for ActivateError<T>
impl<T: Debug> Debug for ActivateError<T>
Source§impl<T> From<SlotError<T>> for ActivateError<T>
impl<T> From<SlotError<T>> for ActivateError<T>
Source§impl<T> From<SourceError> for ActivateError<T>
impl<T> From<SourceError> for ActivateError<T>
Source§fn from(error: SourceError) -> Self
fn from(error: SourceError) -> Self
Converts to this type from the input type.
Source§impl<T: Ord> Ord for ActivateError<T>
impl<T: Ord> Ord for ActivateError<T>
Source§fn cmp(&self, other: &ActivateError<T>) -> Ordering
fn cmp(&self, other: &ActivateError<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for ActivateError<T>
impl<T: PartialEq> PartialEq for ActivateError<T>
Source§impl<T: PartialOrd> PartialOrd for ActivateError<T>
impl<T: PartialOrd> PartialOrd for ActivateError<T>
impl<T: Eq> Eq for ActivateError<T>
impl<T> StructuralPartialEq for ActivateError<T>
Auto Trait Implementations§
impl<T> Freeze for ActivateError<T>where
T: Freeze,
impl<T> RefUnwindSafe for ActivateError<T>where
T: RefUnwindSafe,
impl<T> Send for ActivateError<T>where
T: Send,
impl<T> Sync for ActivateError<T>where
T: Sync,
impl<T> Unpin for ActivateError<T>where
T: Unpin,
impl<T> UnwindSafe for ActivateError<T>where
T: 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