Enum gix_filter::driver::process::Status
source · pub enum Status {
Previous,
Unset,
Named(String),
}
Expand description
The return status of an invoked command.
Variants§
Previous
No new status was set, and nothing was sent, so instead we are to assume the previous status is still in effect.
Unset
Something was sent, but we couldn’t identify it as status.
Named(String)
Assume the given named status.
Implementations§
source§impl Status
impl Status
Initialization
source§impl Status
impl Status
Access
sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Note that this is assumed true even if no new status is set, hence we assume that upon error, the caller will not continue interacting with the process.
sourcepub fn is_delayed(&self) -> bool
pub fn is_delayed(&self) -> bool
Return true if the status is explicitly set to indicated delayed output processing
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)