pub enum LineStatusError {
Verify(VerifyError),
Payload(String),
LineMismatch {
expected: String,
got: String,
},
Stale {
line: String,
presented: u64,
cached: u64,
},
Io {
path: String,
source: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for LineStatusError
impl Debug for LineStatusError
Source§impl Display for LineStatusError
impl Display for LineStatusError
Source§impl Error for LineStatusError
impl Error for LineStatusError
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<VerifyError> for LineStatusError
impl From<VerifyError> for LineStatusError
Source§fn from(source: VerifyError) -> Self
fn from(source: VerifyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LineStatusError
impl !UnwindSafe for LineStatusError
impl Freeze for LineStatusError
impl Send for LineStatusError
impl Sync for LineStatusError
impl Unpin for LineStatusError
impl UnsafeUnpin for LineStatusError
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