pub enum LocalOffsetError {
TzError(TzError),
ComponentRange(ComponentRange),
}Expand description
Define error type.
Variants§
TzError(TzError)
ComponentRange(ComponentRange)
Trait Implementations§
Source§impl Debug for LocalOffsetError
impl Debug for LocalOffsetError
Source§impl Display for LocalOffsetError
impl Display for LocalOffsetError
Source§impl Error for LocalOffsetError
impl Error for LocalOffsetError
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 From<ComponentRange> for LocalOffsetError
impl From<ComponentRange> for LocalOffsetError
Source§fn from(value: ComponentRange) -> Self
fn from(value: ComponentRange) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalOffsetError
impl !RefUnwindSafe for LocalOffsetError
impl Send for LocalOffsetError
impl Sync for LocalOffsetError
impl Unpin for LocalOffsetError
impl !UnwindSafe for LocalOffsetError
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