pub struct LogIndexNotFound {
pub index: u64,
}Expand description
Error indicating that a log index is not found.
Fields§
§index: u64Implementations§
Trait Implementations§
Source§impl Clone for LogIndexNotFound
impl Clone for LogIndexNotFound
Source§fn clone(&self) -> LogIndexNotFound
fn clone(&self) -> LogIndexNotFound
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 LogIndexNotFound
impl Debug for LogIndexNotFound
Source§impl Display for LogIndexNotFound
impl Display for LogIndexNotFound
Source§impl Error for LogIndexNotFound
impl Error for LogIndexNotFound
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<T: Types> From<LogIndexNotFound> for RaftLogStateError<T>
impl<T: Types> From<LogIndexNotFound> for RaftLogStateError<T>
Source§fn from(source: LogIndexNotFound) -> Self
fn from(source: LogIndexNotFound) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LogIndexNotFound
impl PartialEq for LogIndexNotFound
impl Eq for LogIndexNotFound
impl StructuralPartialEq for LogIndexNotFound
Auto Trait Implementations§
impl Freeze for LogIndexNotFound
impl RefUnwindSafe for LogIndexNotFound
impl Send for LogIndexNotFound
impl Sync for LogIndexNotFound
impl Unpin for LogIndexNotFound
impl UnwindSafe for LogIndexNotFound
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