pub enum EventTypeConvertErrors {
CannotFindEventNumber(usize),
CannotFindEventType,
BadString,
}
Variants
CannotFindEventNumber(usize)
CannotFindEventType
BadString
Trait Implementations
sourceimpl Clone for EventTypeConvertErrors
impl Clone for EventTypeConvertErrors
sourcefn clone(&self) -> EventTypeConvertErrors
fn clone(&self) -> EventTypeConvertErrors
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EventTypeConvertErrors
impl Debug for EventTypeConvertErrors
sourceimpl<'de> Deserialize<'de> for EventTypeConvertErrors
impl<'de> Deserialize<'de> for EventTypeConvertErrors
sourcefn 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
sourceimpl Display for EventTypeConvertErrors
impl Display for EventTypeConvertErrors
sourceimpl Error for EventTypeConvertErrors
impl Error for EventTypeConvertErrors
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl Hash for EventTypeConvertErrors
impl Hash for EventTypeConvertErrors
sourceimpl Ord for EventTypeConvertErrors
impl Ord for EventTypeConvertErrors
sourcefn cmp(&self, other: &EventTypeConvertErrors) -> Ordering
fn cmp(&self, other: &EventTypeConvertErrors) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<EventTypeConvertErrors> for EventTypeConvertErrors
impl PartialEq<EventTypeConvertErrors> for EventTypeConvertErrors
sourcefn eq(&self, other: &EventTypeConvertErrors) -> bool
fn eq(&self, other: &EventTypeConvertErrors) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl PartialOrd<EventTypeConvertErrors> for EventTypeConvertErrors
impl PartialOrd<EventTypeConvertErrors> for EventTypeConvertErrors
sourcefn partial_cmp(&self, other: &EventTypeConvertErrors) -> Option<Ordering>
fn partial_cmp(&self, other: &EventTypeConvertErrors) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for EventTypeConvertErrors
impl Serialize for EventTypeConvertErrors
impl Copy for EventTypeConvertErrors
impl Eq for EventTypeConvertErrors
impl StructuralEq for EventTypeConvertErrors
impl StructuralPartialEq for EventTypeConvertErrors
Auto Trait Implementations
impl RefUnwindSafe for EventTypeConvertErrors
impl Send for EventTypeConvertErrors
impl Sync for EventTypeConvertErrors
impl Unpin for EventTypeConvertErrors
impl UnwindSafe for EventTypeConvertErrors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more