pub enum LayerIdError {
MissingPatch(String),
Malformed(String),
MonthOutOfRange(String),
}Expand description
Why a layer identifier failed to parse.
Variants§
MissingPatch(String)
Two-part YYYY.MM — the pre-DD-004 shape, rejected with guidance.
Malformed(String)
Anything else that is not YYYY.MM.P.
MonthOutOfRange(String)
Parsed, but the month is outside 01..=12.
Trait Implementations§
Source§impl Clone for LayerIdError
impl Clone for LayerIdError
Source§fn clone(&self) -> LayerIdError
fn clone(&self) -> LayerIdError
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 LayerIdError
impl Debug for LayerIdError
Source§impl Display for LayerIdError
impl Display for LayerIdError
impl Eq for LayerIdError
Source§impl Error for LayerIdError
impl Error for LayerIdError
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 LayerIdError
impl PartialEq for LayerIdError
impl StructuralPartialEq for LayerIdError
Auto Trait Implementations§
impl Freeze for LayerIdError
impl RefUnwindSafe for LayerIdError
impl Send for LayerIdError
impl Sync for LayerIdError
impl Unpin for LayerIdError
impl UnsafeUnpin for LayerIdError
impl UnwindSafe for LayerIdError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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