pub struct Interrupted(pub ExitStatus);Expand description
Error value indicating that pathname expansion was interrupted
This error is returned when a SIGINT signal is received while scanning
directories in an interactive shell with SIGINT defaulted. The contained
ExitStatus is derived from the SIGINT signal.
Tuple Fields§
§0: ExitStatusTrait Implementations§
Source§impl Debug for Interrupted
impl Debug for Interrupted
impl Eq for Interrupted
Source§impl From<Interrupted> for ExitStatus
impl From<Interrupted> for ExitStatus
Source§fn from(intr: Interrupted) -> ExitStatus
fn from(intr: Interrupted) -> ExitStatus
Converts to this type from the input type.
Source§impl PartialEq for Interrupted
impl PartialEq for Interrupted
impl StructuralPartialEq for Interrupted
Auto Trait Implementations§
impl Freeze for Interrupted
impl RefUnwindSafe for Interrupted
impl Send for Interrupted
impl Sync for Interrupted
impl Unpin for Interrupted
impl UnsafeUnpin for Interrupted
impl UnwindSafe for Interrupted
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more