pub enum CalverError {
NoPatchToken,
UnknownToken(String),
EmptyFormat,
}Expand description
Errors that can occur during calver computation.
Variants§
NoPatchToken
The format string contains no PATCH token.
UnknownToken(String)
The format string contains an unrecognised token.
EmptyFormat
The format string is empty.
Trait Implementations§
Source§impl Clone for CalverError
impl Clone for CalverError
Source§fn clone(&self) -> CalverError
fn clone(&self) -> CalverError
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 CalverError
impl Debug for CalverError
Source§impl Display for CalverError
impl Display for CalverError
Source§impl Error for CalverError
impl Error for CalverError
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 CalverError
impl PartialEq for CalverError
impl Eq for CalverError
impl StructuralPartialEq for CalverError
Auto Trait Implementations§
impl Freeze for CalverError
impl RefUnwindSafe for CalverError
impl Send for CalverError
impl Sync for CalverError
impl Unpin for CalverError
impl UnsafeUnpin for CalverError
impl UnwindSafe for CalverError
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