Enum eventsourced::SpawnError
source · pub enum SpawnError {
LoadSnapshot(Box<dyn StdError + Send + Sync>),
LastSeqNo(Box<dyn StdError + Send + Sync>),
EvtsById(Box<dyn StdError + Send + Sync>),
NextEvt(Box<dyn StdError + Send + Sync>),
}Expand description
Errors from spawning an event sourced entity.
Variants§
LoadSnapshot(Box<dyn StdError + Send + Sync>)
A snapshot cannot be loaded from the snapshot store.
LastSeqNo(Box<dyn StdError + Send + Sync>)
The last seqence number cannot be obtained from the event log.
EvtsById(Box<dyn StdError + Send + Sync>)
Events by ID cannot be obtained from the event log.
NextEvt(Box<dyn StdError + Send + Sync>)
The next event cannot be obtained from the event log.
Trait Implementations§
source§impl Debug for SpawnError
impl Debug for SpawnError
source§impl Display for SpawnError
impl Display for SpawnError
source§impl Error for SpawnError
impl Error for SpawnError
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()