Struct tz::error::ProjectDateTimeError
source · [−]pub struct ProjectDateTimeError(pub &'static str);Expand description
Date time projection error
Tuple Fields
0: &'static strError description
Trait Implementations
sourceimpl Debug for ProjectDateTimeError
impl Debug for ProjectDateTimeError
sourceimpl Display for ProjectDateTimeError
impl Display for ProjectDateTimeError
sourceimpl Error for ProjectDateTimeError
impl Error for ProjectDateTimeError
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<FindLocalTimeTypeError> for ProjectDateTimeError
impl From<FindLocalTimeTypeError> for ProjectDateTimeError
sourcefn from(error: FindLocalTimeTypeError) -> Self
fn from(error: FindLocalTimeTypeError) -> Self
Performs the conversion.
sourceimpl From<OutOfRangeError> for ProjectDateTimeError
impl From<OutOfRangeError> for ProjectDateTimeError
sourcefn from(error: OutOfRangeError) -> Self
fn from(error: OutOfRangeError) -> Self
Performs the conversion.
sourceimpl From<ProjectDateTimeError> for TzError
impl From<ProjectDateTimeError> for TzError
sourcefn from(error: ProjectDateTimeError) -> Self
fn from(error: ProjectDateTimeError) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ProjectDateTimeError
impl Send for ProjectDateTimeError
impl Sync for ProjectDateTimeError
impl Unpin for ProjectDateTimeError
impl UnwindSafe for ProjectDateTimeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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