pub enum ShellInputFailure {
NotRunning,
StdinNotCaptured,
WriteFailed,
}Expand description
Reason a ShellInput write did not happen.
Variants§
NotRunning
The shell id is unknown or the process has already exited.
StdinNotCaptured
The shell is running but was created without capture_stdin=true, so its
stdin is /dev/null — recreate it with capture_stdin to send input.
WriteFailed
The stdin relay is gone / the write channel is closed (process closed stdin).
Trait Implementations§
Source§impl Clone for ShellInputFailure
impl Clone for ShellInputFailure
Source§fn clone(&self) -> ShellInputFailure
fn clone(&self) -> ShellInputFailure
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 ShellInputFailure
Source§impl Debug for ShellInputFailure
impl Debug for ShellInputFailure
Source§impl<'de> Deserialize<'de> for ShellInputFailure
impl<'de> Deserialize<'de> for ShellInputFailure
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
impl Eq for ShellInputFailure
Source§impl PartialEq for ShellInputFailure
impl PartialEq for ShellInputFailure
Source§impl Serialize for ShellInputFailure
impl Serialize for ShellInputFailure
impl StructuralPartialEq for ShellInputFailure
Auto Trait Implementations§
impl Freeze for ShellInputFailure
impl RefUnwindSafe for ShellInputFailure
impl Send for ShellInputFailure
impl Sync for ShellInputFailure
impl Unpin for ShellInputFailure
impl UnsafeUnpin for ShellInputFailure
impl UnwindSafe for ShellInputFailure
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