pub enum ForkErrorKind {
InternalError,
ResourceConstraint,
}Expand description
Create another context, having an address distinct from the original context’s one.
Variants§
Trait Implementations§
Source§impl Clone for ForkErrorKind
impl Clone for ForkErrorKind
Source§fn clone(&self) -> ForkErrorKind
fn clone(&self) -> ForkErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ForkErrorKind
Source§impl Debug for ForkErrorKind
impl Debug for ForkErrorKind
Source§impl<'de> Deserialize<'de> for ForkErrorKind
impl<'de> Deserialize<'de> for ForkErrorKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForkErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForkErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ForkErrorKind
impl Display for ForkErrorKind
impl Eq for ForkErrorKind
Source§impl Error for ForkErrorKind
impl Error for ForkErrorKind
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 From<ForkErrorKind> for AskErrorKind
impl From<ForkErrorKind> for AskErrorKind
Source§fn from(value: ForkErrorKind) -> AskErrorKind
fn from(value: ForkErrorKind) -> AskErrorKind
Converts to this type from the input type.
Source§impl HasErrorKind<ForkErrorKind> for ForkErrorKind
impl HasErrorKind<ForkErrorKind> for ForkErrorKind
fn kind(&self) -> ForkErrorKind
Source§impl Hash for ForkErrorKind
impl Hash for ForkErrorKind
impl Message for ForkErrorKind
Source§impl Ord for ForkErrorKind
impl Ord for ForkErrorKind
Source§fn cmp(&self, other: &ForkErrorKind) -> Ordering
fn cmp(&self, other: &ForkErrorKind) -> Ordering
1.21.0 (const: unstable) · 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 ForkErrorKind
impl PartialEq for ForkErrorKind
Source§fn eq(&self, other: &ForkErrorKind) -> bool
fn eq(&self, other: &ForkErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ForkErrorKind
impl PartialOrd for ForkErrorKind
Source§impl Serialize for ForkErrorKind
impl Serialize for ForkErrorKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ForkErrorKind
Auto Trait Implementations§
impl Freeze for ForkErrorKind
impl RefUnwindSafe for ForkErrorKind
impl Send for ForkErrorKind
impl Sync for ForkErrorKind
impl Unpin for ForkErrorKind
impl UnsafeUnpin for ForkErrorKind
impl UnwindSafe for ForkErrorKind
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.impl<K> ErrorKind for K
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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