pub enum UECOError {
PipeFailed {
errno: i32,
},
Dup2Failed {
errno: i32,
},
ExecvpFailed {
errno: i32,
},
WaitpidFailed {
errno: i32,
},
ReadFailed {
errno: i32,
},
ForkFailed {
errno: i32,
},
CloseFailed {
errno: i32,
},
PipeNotMarkedAsReadEnd,
ChildAlreadyDispatched,
Unknown,
}
Expand description
Short for U(nix) E(xec) C(atch) O(utput)-Error. Combines all errors that can happen inside this library.
Variants§
PipeFailed
Dup2Failed
ExecvpFailed
WaitpidFailed
ReadFailed
ForkFailed
CloseFailed
PipeNotMarkedAsReadEnd
ChildAlreadyDispatched
Unknown
For all other errors.
Trait Implementations§
Source§impl Error for UECOError
impl Error for UECOError
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()
impl Copy for UECOError
Auto Trait Implementations§
impl Freeze for UECOError
impl RefUnwindSafe for UECOError
impl Send for UECOError
impl Sync for UECOError
impl Unpin for UECOError
impl UnwindSafe for UECOError
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