pub struct Outcome {
pub code: i32,
pub text: String,
}Expand description
What a delivery came to: the exit code, and the text the sending agent reads.
Fields§
§code: i32Exit code for scripts: 0 sent, EXIT_REFUSED, EXIT_UNKNOWN,
EXIT_STORED or EXIT_FAILED.
text: StringWhat the sending agent reads.
Implementations§
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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