pub enum ConnectStdioError {
NotStdio,
Spec(StdioSpecError),
Guard(SpawnGuardError),
}Variants§
Trait Implementations§
Source§impl Debug for ConnectStdioError
impl Debug for ConnectStdioError
Source§impl Display for ConnectStdioError
impl Display for ConnectStdioError
Source§impl Error for ConnectStdioError
impl Error for ConnectStdioError
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<SpawnGuardError> for ConnectStdioError
impl From<SpawnGuardError> for ConnectStdioError
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 ConnectStdioError
impl PartialEq for ConnectStdioError
Source§fn eq(&self, other: &ConnectStdioError) -> bool
fn eq(&self, other: &ConnectStdioError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConnectStdioError
impl StructuralPartialEq for ConnectStdioError
Auto Trait Implementations§
impl Freeze for ConnectStdioError
impl RefUnwindSafe for ConnectStdioError
impl Send for ConnectStdioError
impl Sync for ConnectStdioError
impl Unpin for ConnectStdioError
impl UnsafeUnpin for ConnectStdioError
impl UnwindSafe for ConnectStdioError
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.