Struct tiny_actor::errors::SpawnError
source · [−]pub struct SpawnError<T>(pub T);Expand description
An error returned when spawning more processes onto a channel.
The actor has exited.
Tuple Fields
0: TTrait Implementations
sourceimpl<T: Clone> Clone for SpawnError<T>
impl<T: Clone> Clone for SpawnError<T>
sourcefn clone(&self) -> SpawnError<T>
fn clone(&self) -> SpawnError<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<T> Debug for SpawnError<T>
impl<T> Debug for SpawnError<T>
sourceimpl<T> Display for SpawnError<T>
impl<T> Display for SpawnError<T>
sourceimpl<T> Error for SpawnError<T> where
Self: Debug + Display,
impl<T> Error for SpawnError<T> where
Self: Debug + Display,
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<T: Hash> Hash for SpawnError<T>
impl<T: Hash> Hash for SpawnError<T>
sourceimpl<T: PartialEq> PartialEq<SpawnError<T>> for SpawnError<T>
impl<T: PartialEq> PartialEq<SpawnError<T>> for SpawnError<T>
sourcefn eq(&self, other: &SpawnError<T>) -> bool
fn eq(&self, other: &SpawnError<T>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SpawnError<T>) -> bool
fn ne(&self, other: &SpawnError<T>) -> bool
This method tests for !=.
impl<T: Eq> Eq for SpawnError<T>
impl<T> StructuralEq for SpawnError<T>
impl<T> StructuralPartialEq for SpawnError<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for SpawnError<T> where
T: RefUnwindSafe,
impl<T> Send for SpawnError<T> where
T: Send,
impl<T> Sync for SpawnError<T> where
T: Sync,
impl<T> Unpin for SpawnError<T> where
T: Unpin,
impl<T> UnwindSafe for SpawnError<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more