Enum runestick::PanicReason [−][src]
pub enum PanicReason { NotImplemented, UnmatchedPattern, FutureCompleted, }
Expand description
Pre-canned panic reasons.
To formulate a custom reason, use crate::Panic::custom.
Variants
Not implemented.
A pattern didn’t match where it unconditionally has to.
Tried to poll a future that has already been completed.
Trait Implementations
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PanicReason
impl Send for PanicReason
impl Sync for PanicReason
impl Unpin for PanicReason
impl UnwindSafe for PanicReason
Blanket Implementations
Mutably borrows from an owned value. Read more