pub struct Io {
pub value: Value,
pub returned: Value,
}Expand description
The built capability, plus the one thing about it a runner has to recognize.
Fields§
§value: ValueThe IO module instance — what __main is applied to, and the whole of
what the program is authorized to do.
returned: ValueThe iota IO.Proc.return raises with. Io::run compares an uncaught
raise against it to tell “the program asked to exit with a status” from
“the program failed”; nothing else can mint this value.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Io
impl !Send for Io
impl !Sync for Io
impl !UnwindSafe for Io
impl Freeze for Io
impl Unpin for Io
impl UnsafeUnpin for Io
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