pub enum Utc2kFormatError {
Eof,
InvalidComponent,
InvalidModifier(&'static str),
NotAscii,
}Expand description
§Formatting Error.
Variants§
Eof
§Unexpected End.
InvalidComponent
§Invalid Component.
InvalidModifier(&'static str)
§Invalid Year Modifier.
NotAscii
§Format String Not ASCII.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for Utc2kFormatError
impl AsRef<str> for Utc2kFormatError
Source§impl Borrow<str> for Utc2kFormatError
impl Borrow<str> for Utc2kFormatError
Source§impl Clone for Utc2kFormatError
impl Clone for Utc2kFormatError
Source§fn clone(&self) -> Utc2kFormatError
fn clone(&self) -> Utc2kFormatError
Returns a duplicate of the value. Read more
1.0.0 · 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 Utc2kFormatError
impl Debug for Utc2kFormatError
Source§impl Display for Utc2kFormatError
impl Display for Utc2kFormatError
Source§impl Error for Utc2kFormatError
impl Error for Utc2kFormatError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for Utc2kFormatError
impl PartialEq for Utc2kFormatError
impl Copy for Utc2kFormatError
impl Eq for Utc2kFormatError
impl StructuralPartialEq for Utc2kFormatError
Auto Trait Implementations§
impl Freeze for Utc2kFormatError
impl RefUnwindSafe for Utc2kFormatError
impl Send for Utc2kFormatError
impl Sync for Utc2kFormatError
impl Unpin for Utc2kFormatError
impl UnwindSafe for Utc2kFormatError
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