pub struct ParseLsnError(pub String);Expand description
Error returned when parsing an invalid LSN string.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ParseLsnError
impl Clone for ParseLsnError
Source§fn clone(&self) -> ParseLsnError
fn clone(&self) -> ParseLsnError
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 ParseLsnError
impl Debug for ParseLsnError
Source§impl Display for ParseLsnError
impl Display for ParseLsnError
Source§impl Error for ParseLsnError
impl Error for ParseLsnError
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 ParseLsnError
impl PartialEq for ParseLsnError
impl Eq for ParseLsnError
impl StructuralPartialEq for ParseLsnError
Auto Trait Implementations§
impl Freeze for ParseLsnError
impl RefUnwindSafe for ParseLsnError
impl Send for ParseLsnError
impl Sync for ParseLsnError
impl Unpin for ParseLsnError
impl UnwindSafe for ParseLsnError
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