pub struct ExecStdinError {
pub errno: Option<i32>,
pub errno_name: Option<String>,
pub message: String,
}Expand description
Notification that an ExecStdin write to the child’s stdin failed.
The most common cause is the child closing its read end (EPIPE);
the session is otherwise alive and may still produce output and an
exit code, so this is delivered as a non-terminal event.
Fields§
§errno: Option<i32>errno from the underlying write, if available.
errno_name: Option<String>Standard errno name like "EPIPE", populated when errno is.
message: StringHuman-readable description from agentd.
Trait Implementations§
Source§impl Clone for ExecStdinError
impl Clone for ExecStdinError
Source§fn clone(&self) -> ExecStdinError
fn clone(&self) -> ExecStdinError
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 moreSource§impl Debug for ExecStdinError
impl Debug for ExecStdinError
Source§impl<'de> Deserialize<'de> for ExecStdinError
impl<'de> Deserialize<'de> for ExecStdinError
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
Auto Trait Implementations§
impl Freeze for ExecStdinError
impl RefUnwindSafe for ExecStdinError
impl Send for ExecStdinError
impl Sync for ExecStdinError
impl Unpin for ExecStdinError
impl UnsafeUnpin for ExecStdinError
impl UnwindSafe for ExecStdinError
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