Enum time::error::TryFromParsed [−][src]
#[non_exhaustive]
pub enum TryFromParsed {
InsufficientInformation,
ComponentRange(ComponentRange),
}parsing only.Expand description
An error that occurred when converting a Parsed to another type.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The Parsed did not include enough information to construct the
type.
ComponentRange(ComponentRange)Some component contained an invalid value for the type.
Trait Implementations
impl Clone for TryFromParsed[src]
impl Clone for TryFromParsed[src]fn clone(&self) -> TryFromParsed[src]
fn clone(&self) -> TryFromParsed[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for TryFromParsed[src]
impl Debug for TryFromParsed[src]impl Display for TryFromParsed[src]
impl Display for TryFromParsed[src]impl Error for TryFromParsed[src]
impl Error for TryFromParsed[src]std only.fn source(&self) -> Option<&(dyn Error + 'static)>[src]
fn source(&self) -> Option<&(dyn Error + 'static)>[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0[src]use the Display impl or to_string()
impl From<ComponentRange> for TryFromParsed[src]
impl From<ComponentRange> for TryFromParsed[src]fn from(v: ComponentRange) -> Self[src]
fn from(v: ComponentRange) -> Self[src]Performs the conversion.
impl From<TryFromParsed> for Parse[src]
impl From<TryFromParsed> for Parse[src]fn from(err: TryFromParsed) -> Self[src]
fn from(err: TryFromParsed) -> Self[src]Performs the conversion.
impl From<TryFromParsed> for Error[src]
impl From<TryFromParsed> for Error[src]fn from(original: TryFromParsed) -> Self[src]
fn from(original: TryFromParsed) -> Self[src]Performs the conversion.
impl PartialEq<TryFromParsed> for TryFromParsed[src]
impl PartialEq<TryFromParsed> for TryFromParsed[src]fn eq(&self, other: &TryFromParsed) -> bool[src]
fn eq(&self, other: &TryFromParsed) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &TryFromParsed) -> bool[src]
fn ne(&self, other: &TryFromParsed) -> bool[src]This method tests for !=.
impl Copy for TryFromParsed[src]
impl Eq for TryFromParsed[src]
impl StructuralEq for TryFromParsed[src]
impl StructuralPartialEq for TryFromParsed[src]
Auto Trait Implementations
impl RefUnwindSafe for TryFromParsed
impl Send for TryFromParsed
impl Sync for TryFromParsed
impl Unpin for TryFromParsed
impl UnwindSafe for TryFromParsed
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more