Enum xan_actor::ActorError
source · pub enum ActorError<T, R>{
OneshotRecv(RecvError),
UnboundedChannelSend(SendError<Message<T, R>>),
AddressNotFound(String),
ActorNotReady(String),
CloneFailed(String),
}Variants§
OneshotRecv(RecvError)
UnboundedChannelSend(SendError<Message<T, R>>)
AddressNotFound(String)
ActorNotReady(String)
CloneFailed(String)
Trait Implementations§
source§impl<T, R> Debug for ActorError<T, R>
impl<T, R> Debug for ActorError<T, R>
source§impl<T, R> Display for ActorError<T, R>
impl<T, R> Display for ActorError<T, R>
source§impl<T, R> Error for ActorError<T, R>
impl<T, R> Error for ActorError<T, R>
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<T, R> From<RecvError> for ActorError<T, R>
impl<T, R> From<RecvError> for ActorError<T, R>
Auto Trait Implementations§
impl<T, R> !RefUnwindSafe for ActorError<T, R>
impl<T, R> Send for ActorError<T, R>
impl<T, R> Sync for ActorError<T, R>where
T: Sync,
impl<T, R> Unpin for ActorError<T, R>where
T: Unpin,
impl<T, R> !UnwindSafe for ActorError<T, R>
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