#[non_exhaustive]#[repr(C)]pub enum Rfc9557ParseError {
Unknown = 0,
InvalidSyntax = 1,
OutOfRange = 2,
MissingFields = 3,
UnknownCalendar = 4,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for Rfc9557ParseError
impl Clone for Rfc9557ParseError
Source§fn clone(&self) -> Rfc9557ParseError
fn clone(&self) -> Rfc9557ParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Rfc9557ParseError
impl Debug for Rfc9557ParseError
Source§impl From<ParseError> for Rfc9557ParseError
Available on crate feature calendar only.
impl From<ParseError> for Rfc9557ParseError
Available on crate feature
calendar only.Source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for Rfc9557ParseError
Available on crate feature calendar only.
impl From<ParseError> for Rfc9557ParseError
Available on crate feature
calendar only.Source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Rfc9557ParseError
impl PartialEq for Rfc9557ParseError
Source§fn eq(&self, other: &Rfc9557ParseError) -> bool
fn eq(&self, other: &Rfc9557ParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Rfc9557ParseError
impl Eq for Rfc9557ParseError
impl StructuralPartialEq for Rfc9557ParseError
Auto Trait Implementations§
impl Freeze for Rfc9557ParseError
impl RefUnwindSafe for Rfc9557ParseError
impl Send for Rfc9557ParseError
impl Sync for Rfc9557ParseError
impl Unpin for Rfc9557ParseError
impl UnsafeUnpin for Rfc9557ParseError
impl UnwindSafe for Rfc9557ParseError
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