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 duplicate 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<'de> Deserialize<'de> for SpawnErrorKind
impl<'de> Deserialize<'de> for SpawnErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Serialize for SpawnErrorKind
impl Serialize for SpawnErrorKind
impl Copy for SpawnErrorKind
impl Eq for SpawnErrorKind
impl Message 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