pub enum AskOutcome {
Answered,
TimedOut,
Cancelled,
}Expand description
How a question ended.
Variants§
Answered
The parent answered before the deadline.
TimedOut
The deadline passed; the worker took its default.
Cancelled
The node or its worker attempt ended while the question was open.
Implementations§
Trait Implementations§
Source§impl Clone for AskOutcome
impl Clone for AskOutcome
impl Copy for AskOutcome
Source§impl Debug for AskOutcome
impl Debug for AskOutcome
Source§impl<'de> Deserialize<'de> for AskOutcome
impl<'de> Deserialize<'de> for AskOutcome
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 AskOutcome
Source§impl PartialEq for AskOutcome
impl PartialEq for AskOutcome
Source§impl Serialize for AskOutcome
impl Serialize for AskOutcome
impl StructuralPartialEq for AskOutcome
Auto Trait Implementations§
impl Forget for AskOutcome
impl Freeze for AskOutcome
impl Move for AskOutcome
impl RefUnwindSafe for AskOutcome
impl Send for AskOutcome
impl Sync for AskOutcome
impl Unpin for AskOutcome
impl UnsafeUnpin for AskOutcome
impl UnwindSafe for AskOutcome
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