pub enum VttParserError {
UnexpectedEndOfFile,
FileNotReadable(String),
ExpectedBlankLine(String),
ExpectedBlockNumber(String),
BlockHeaderInvalid(String),
InvalidTimestamp(String),
}Expand description
Error type for VttParser
Variants§
UnexpectedEndOfFile
FileNotReadable(String)
ExpectedBlankLine(String)
ExpectedBlockNumber(String)
BlockHeaderInvalid(String)
InvalidTimestamp(String)
Trait Implementations§
Source§impl Clone for VttParserError
impl Clone for VttParserError
Source§fn clone(&self) -> VttParserError
fn clone(&self) -> VttParserError
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 VttParserError
impl Debug for VttParserError
Source§impl Display for VttParserError
impl Display for VttParserError
Source§impl Error for VttParserError
impl Error for VttParserError
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()
Auto Trait Implementations§
impl Freeze for VttParserError
impl RefUnwindSafe for VttParserError
impl Send for VttParserError
impl Sync for VttParserError
impl Unpin for VttParserError
impl UnwindSafe for VttParserError
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