pub enum StdioSpecError {
Guard(SpawnGuardError),
Env(EnvPolicyError),
}Variants§
Guard(SpawnGuardError)
Env(EnvPolicyError)
Trait Implementations§
Source§impl Debug for StdioSpecError
impl Debug for StdioSpecError
Source§impl Display for StdioSpecError
impl Display for StdioSpecError
Source§impl Error for StdioSpecError
impl Error for StdioSpecError
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<EnvPolicyError> for StdioSpecError
impl From<EnvPolicyError> for StdioSpecError
Source§fn from(source: EnvPolicyError) -> Self
fn from(source: EnvPolicyError) -> Self
Converts to this type from the input type.
Source§impl From<SpawnGuardError> for StdioSpecError
impl From<SpawnGuardError> for StdioSpecError
Source§fn from(source: SpawnGuardError) -> Self
fn from(source: SpawnGuardError) -> Self
Converts to this type from the input type.
Source§impl From<StdioSpecError> for ConnectStdioError
impl From<StdioSpecError> for ConnectStdioError
Source§fn from(source: StdioSpecError) -> Self
fn from(source: StdioSpecError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StdioSpecError
impl PartialEq for StdioSpecError
Source§fn eq(&self, other: &StdioSpecError) -> bool
fn eq(&self, other: &StdioSpecError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StdioSpecError
impl StructuralPartialEq for StdioSpecError
Auto Trait Implementations§
impl Freeze for StdioSpecError
impl RefUnwindSafe for StdioSpecError
impl Send for StdioSpecError
impl Sync for StdioSpecError
impl Unpin for StdioSpecError
impl UnsafeUnpin for StdioSpecError
impl UnwindSafe for StdioSpecError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.