pub enum SpawnErrorKind {
InternalError,
ResourceConstraint,
}Variants§
Trait Implementations§
Source§impl Clone for SpawnErrorKind
impl Clone for SpawnErrorKind
Source§fn clone(&self) -> SpawnErrorKind
fn clone(&self) -> SpawnErrorKind
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 SpawnErrorKind
impl Debug for SpawnErrorKind
Source§impl Display for SpawnErrorKind
impl Display for SpawnErrorKind
Source§impl Error for SpawnErrorKind
impl Error for SpawnErrorKind
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<SpawnErrorKind> for SpawnErrorKind
impl HasErrorKind<SpawnErrorKind> for SpawnErrorKind
Source§impl Hash for SpawnErrorKind
impl Hash for SpawnErrorKind
Source§impl Ord for SpawnErrorKind
impl Ord for SpawnErrorKind
Source§fn cmp(&self, other: &SpawnErrorKind) -> Ordering
fn cmp(&self, other: &SpawnErrorKind) -> 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 SpawnErrorKind
impl PartialEq for SpawnErrorKind
Source§impl PartialOrd for SpawnErrorKind
impl PartialOrd for SpawnErrorKind
Source§impl<___InspectorSpawnErrorKind, ___AdjusterSpawnErrorKind> Traversable<___InspectorSpawnErrorKind, ___AdjusterSpawnErrorKind> for SpawnErrorKind
impl<___InspectorSpawnErrorKind, ___AdjusterSpawnErrorKind> Traversable<___InspectorSpawnErrorKind, ___AdjusterSpawnErrorKind> for SpawnErrorKind
type InspectError = Box<dyn Error + Sync + Send>
type AdjustError = Box<dyn Error + Sync + Send>
fn adjust( &mut self, visitor: &mut ___AdjusterSpawnErrorKind, ) -> Result<(), Self::AdjustError>
fn inspect( &self, visitor: &mut ___InspectorSpawnErrorKind, ) -> Result<(), Self::InspectError>
impl Copy for SpawnErrorKind
impl Eq for SpawnErrorKind
impl StructuralPartialEq for SpawnErrorKind
Auto Trait Implementations§
impl Freeze for SpawnErrorKind
impl RefUnwindSafe for SpawnErrorKind
impl Send for SpawnErrorKind
impl Sync for SpawnErrorKind
impl Unpin for SpawnErrorKind
impl UnwindSafe for SpawnErrorKind
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