pub struct ActorTurnError { /* private fields */ }Expand description
The dispatch error one actor turn port may report.
The port carries its own error rather than the adapter registry’s: the runtime acts on the fact that the lane could not be reached, not on the adapter’s taxonomy, and the adapter owner supplies the detail the runtime only quotes back into its own bounded failure.
Implementations§
Source§impl ActorTurnError
impl ActorTurnError
Sourcepub fn dispatch_failed(detail: impl Into<String>) -> ActorTurnError
pub fn dispatch_failed(detail: impl Into<String>) -> ActorTurnError
One refused or incomplete dispatch, with the owner’s own detail.
Trait Implementations§
Source§impl Clone for ActorTurnError
impl Clone for ActorTurnError
Source§fn clone(&self) -> ActorTurnError
fn clone(&self) -> ActorTurnError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActorTurnError
impl Debug for ActorTurnError
Source§impl Display for ActorTurnError
impl Display for ActorTurnError
impl Eq for ActorTurnError
Source§impl Error for ActorTurnError
impl Error for ActorTurnError
1.30.0 · 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 PartialEq for ActorTurnError
impl PartialEq for ActorTurnError
impl StructuralPartialEq for ActorTurnError
Auto Trait Implementations§
impl Forget for ActorTurnError
impl Freeze for ActorTurnError
impl Move for ActorTurnError
impl RefUnwindSafe for ActorTurnError
impl Send for ActorTurnError
impl Sync for ActorTurnError
impl Unpin for ActorTurnError
impl UnsafeUnpin for ActorTurnError
impl UnwindSafe for ActorTurnError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.