pub enum CorrelationVectorParseError {
Empty,
MissingVector,
ParseError {
source: ParseIntError,
},
StringTooLongError,
}Expand description
The error type for the correlation vector parse function
Variants§
Empty
The input is empty
MissingVector
There was no vector clock in the input
ParseError
The numbers in the vector clock could not be parsed as u32
Fields
§
source: ParseIntErrorStringTooLongError
The input is too long to form a valid correlation vector according to the specification
Trait Implementations§
Source§impl Debug for CorrelationVectorParseError
impl Debug for CorrelationVectorParseError
Source§impl Error for CorrelationVectorParseError
impl Error for CorrelationVectorParseError
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<ParseIntError> for CorrelationVectorParseError
impl From<ParseIntError> for CorrelationVectorParseError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CorrelationVectorParseError
impl RefUnwindSafe for CorrelationVectorParseError
impl Send for CorrelationVectorParseError
impl Sync for CorrelationVectorParseError
impl Unpin for CorrelationVectorParseError
impl UnwindSafe for CorrelationVectorParseError
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