pub struct TrapState {
pub action: Action,
pub origin: Origin,
pub pending: bool,
}Expand description
State of the trap action for a condition
Fields§
§action: ActionAction taken when the condition is met
origin: OriginOrigin of the current action
pending: boolTrue iff a signal specified by the condition has been caught and the action command has not yet executed.
Trait Implementations§
impl Eq for TrapState
impl StructuralPartialEq for TrapState
Auto Trait Implementations§
impl Freeze for TrapState
impl !RefUnwindSafe for TrapState
impl !Send for TrapState
impl !Sync for TrapState
impl Unpin for TrapState
impl !UnwindSafe for TrapState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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