pub enum ActorError {
Show 14 variants
DropRecv {
msg: String,
source: RecvError,
},
DropSend {
msg: String,
source: SendError<()>,
},
NoData,
NoInputs,
NoOutputs,
NoClient,
Disconnected(String),
SomeInputsZeroRate(String),
NoInputsPositiveRate(String),
SomeOutputsZeroRate(String),
NoOutputsPositiveRate(String),
OrphanOutput(String, String),
Other(Box<dyn Error + Send + Sync>),
NoError(Infallible),
}Variants§
DropRecv
DropSend
NoData
NoInputs
NoOutputs
NoClient
Disconnected(String)
SomeInputsZeroRate(String)
NoInputsPositiveRate(String)
SomeOutputsZeroRate(String)
NoOutputsPositiveRate(String)
OrphanOutput(String, String)
Other(Box<dyn Error + Send + Sync>)
NoError(Infallible)
Trait Implementations§
Source§impl Debug for ActorError
impl Debug for ActorError
Source§impl Display for ActorError
impl Display for ActorError
Source§impl Error for ActorError
impl Error for ActorError
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<ActorError> for CheckError
impl From<ActorError> for CheckError
Source§fn from(source: ActorError) -> Self
fn from(source: ActorError) -> Self
Converts to this type from the input type.
Source§impl From<ActorError> for TaskError
impl From<ActorError> for TaskError
Source§fn from(source: ActorError) -> Self
fn from(source: ActorError) -> Self
Converts to this type from the input type.
Source§impl From<ActorError> for ModelError
impl From<ActorError> for ModelError
Source§fn from(source: ActorError) -> Self
fn from(source: ActorError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for ActorError
impl From<Infallible> for ActorError
Source§fn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ActorError
impl !UnwindSafe for ActorError
impl Freeze for ActorError
impl Send for ActorError
impl Sync for ActorError
impl Unpin for ActorError
impl UnsafeUnpin for ActorError
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