Enum gmt_dos_actors::ActorError
source · pub enum ActorError {
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),
}Variants§
DropRecv
DropSend
NoData
NoInputs
NoOutputs
NoClient
Disconnected(String)
SomeInputsZeroRate(String)
NoInputsPositiveRate(String)
SomeOutputsZeroRate(String)
NoOutputsPositiveRate(String)
OrphanOutput(String, String)
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)>
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 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<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.
Auto Trait Implementations§
impl Freeze for ActorError
impl RefUnwindSafe for ActorError
impl Send for ActorError
impl Sync for ActorError
impl Unpin for ActorError
impl UnwindSafe 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