pub enum RactorErr {
Spawn(SpawnErr),
Messaging(MessagingErr),
Actor(ActorErr),
Timeout,
}Expand description
Error types which can result from Ractor processes
Variants§
Spawn(SpawnErr)
An error occurred spawning
Messaging(MessagingErr)
An error occurred in messaging (sending/receiving)
Actor(ActorErr)
An actor encountered an error while processing (canceled or panicked)
Timeout
A timeout occurred
Trait Implementations§
source§impl<TResult> From<CallResult<TResult>> for RactorErr
impl<TResult> From<CallResult<TResult>> for RactorErr
source§fn from(value: CallResult<TResult>) -> Self
fn from(value: CallResult<TResult>) -> Self
Converts to this type from the input type.
source§impl From<MessagingErr> for RactorErr
impl From<MessagingErr> for RactorErr
source§fn from(value: MessagingErr) -> Self
fn from(value: MessagingErr) -> Self
Converts to this type from the input type.