pub enum RunEnd {
Returned {
success: bool,
},
Failed(String),
Stopped,
Replaced,
}Expand description
How the run ended.
Variants§
Returned
Its main returned; success is false for a run that reported failure.
Failed(String)
It trapped, or could not run: the error.
Stopped
WaOS stopped it, as when the app quits.
Replaced
A later run of the same name took its place.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunEnd
impl<'de> Deserialize<'de> for RunEnd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RunEnd
impl StructuralPartialEq for RunEnd
Auto Trait Implementations§
impl Forget for RunEnd
impl Freeze for RunEnd
impl Move for RunEnd
impl RefUnwindSafe for RunEnd
impl Send for RunEnd
impl Sync for RunEnd
impl Unpin for RunEnd
impl UnsafeUnpin for RunEnd
impl UnwindSafe for RunEnd
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.