pub enum StopErrorKind {
NotFound,
Timeout,
InternalError,
}Variants§
Trait Implementations§
Source§impl Clone for StopErrorKind
impl Clone for StopErrorKind
Source§fn clone(&self) -> StopErrorKind
fn clone(&self) -> StopErrorKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StopErrorKind
impl Debug for StopErrorKind
Source§impl Display for StopErrorKind
impl Display for StopErrorKind
Source§impl Error for StopErrorKind
impl Error for StopErrorKind
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl HasErrorKind<StopErrorKind> for StopErrorKind
impl HasErrorKind<StopErrorKind> for StopErrorKind
Source§impl Hash for StopErrorKind
impl Hash for StopErrorKind
Source§impl Ord for StopErrorKind
impl Ord for StopErrorKind
Source§fn cmp(&self, other: &StopErrorKind) -> Ordering
fn cmp(&self, other: &StopErrorKind) -> 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 PartialEq for StopErrorKind
impl PartialEq for StopErrorKind
Source§impl PartialOrd for StopErrorKind
impl PartialOrd for StopErrorKind
Source§impl<___InspectorStopErrorKind, ___AdjusterStopErrorKind> Traversable<___InspectorStopErrorKind, ___AdjusterStopErrorKind> for StopErrorKind
impl<___InspectorStopErrorKind, ___AdjusterStopErrorKind> Traversable<___InspectorStopErrorKind, ___AdjusterStopErrorKind> for StopErrorKind
type InspectError = Box<dyn Error + Sync + Send>
type AdjustError = Box<dyn Error + Sync + Send>
fn adjust( &mut self, visitor: &mut ___AdjusterStopErrorKind, ) -> Result<(), Self::AdjustError>
fn inspect( &self, visitor: &mut ___InspectorStopErrorKind, ) -> Result<(), Self::InspectError>
impl Copy for StopErrorKind
impl Eq for StopErrorKind
impl StructuralPartialEq for StopErrorKind
Auto Trait Implementations§
impl Freeze for StopErrorKind
impl RefUnwindSafe for StopErrorKind
impl Send for StopErrorKind
impl Sync for StopErrorKind
impl Unpin for StopErrorKind
impl UnwindSafe for StopErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more