pub enum RuntimeError {
InvalidConfig(ShardMapError),
InvalidRaftGroup {
raft_group_id: RaftGroupId,
raft_group_count: u32,
},
SnapshotPlacementMismatch {
expected: ShardPlacement,
actual: ShardPlacement,
},
EmptyAppend,
ColdStoreConfig {
message: String,
},
ColdStoreIo {
message: String,
},
LiveReadBackpressure {
core_id: CoreId,
current_waiters: u64,
limit: u64,
},
GroupEngine {
core_id: CoreId,
raft_group_id: RaftGroupId,
message: String,
next_offset: Option<u64>,
leader_hint: Option<GroupLeaderHint>,
},
MailboxClosed {
core_id: CoreId,
},
ResponseDropped {
core_id: CoreId,
},
SpawnCoreThread {
core_id: CoreId,
message: String,
},
}Variants§
InvalidConfig(ShardMapError)
InvalidRaftGroup
SnapshotPlacementMismatch
EmptyAppend
ColdStoreConfig
ColdStoreIo
LiveReadBackpressure
GroupEngine
MailboxClosed
ResponseDropped
SpawnCoreThread
Trait Implementations§
Source§impl Clone for RuntimeError
impl Clone for RuntimeError
Source§fn clone(&self) -> RuntimeError
fn clone(&self) -> RuntimeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RuntimeError
impl Debug for RuntimeError
Source§impl Display for RuntimeError
impl Display for RuntimeError
Source§impl Error for RuntimeError
impl Error for RuntimeError
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 From<ShardMapError> for RuntimeError
impl From<ShardMapError> for RuntimeError
Source§fn from(value: ShardMapError) -> Self
fn from(value: ShardMapError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeError
impl PartialEq for RuntimeError
Source§fn eq(&self, other: &RuntimeError) -> bool
fn eq(&self, other: &RuntimeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RuntimeError
impl StructuralPartialEq for RuntimeError
Auto Trait Implementations§
impl Freeze for RuntimeError
impl RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnsafeUnpin for RuntimeError
impl UnwindSafe for RuntimeError
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