Enum spacetimedb::error::LogReplayError
source · pub enum LogReplayError {
OutOfOrderCommit {
commit_offset: u64,
segment_offset: usize,
last_commit_offset: u64,
},
TrailingSegments {
segment_offset: usize,
total_segments: usize,
commit_offset: u64,
source: Error,
},
Reset {
offset: u64,
source: Error,
},
MissingObject {
hash: Hash,
commit_offset: u64,
},
Io {
segment_offset: usize,
commit_offset: u64,
source: Error,
},
}Variants§
Trait Implementations§
source§impl Debug for LogReplayError
impl Debug for LogReplayError
source§impl Display for LogReplayError
impl Display for LogReplayError
source§impl Error for LogReplayError
impl Error for LogReplayError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<LogReplayError> for DBError
impl From<LogReplayError> for DBError
source§fn from(source: LogReplayError) -> Self
fn from(source: LogReplayError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LogReplayError
impl Send for LogReplayError
impl Sync for LogReplayError
impl Unpin for LogReplayError
impl !UnwindSafe for LogReplayError
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