pub enum CenturyError {
NotACenturyBoundary(i32),
}Expand description
Errors returned by Century::try_new when validation fails.
Variants§
Trait Implementations§
Source§impl Clone for CenturyError
impl Clone for CenturyError
Source§fn clone(&self) -> CenturyError
fn clone(&self) -> CenturyError
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 CenturyError
impl Debug for CenturyError
Source§impl PartialEq for CenturyError
impl PartialEq for CenturyError
impl Eq for CenturyError
impl StructuralPartialEq for CenturyError
Auto Trait Implementations§
impl Freeze for CenturyError
impl RefUnwindSafe for CenturyError
impl Send for CenturyError
impl Sync for CenturyError
impl Unpin for CenturyError
impl UnsafeUnpin for CenturyError
impl UnwindSafe for CenturyError
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