pub struct AlreadyRunning;Expand description
Returned by DomainRuntime::start when the loop is already running.
start returns Ok(false) for the already-running case rather than this error, so the
type exists mainly to give callers a typed, infallible-to-construct marker; the generic
start never actually yields it today but keeps the door open for fallible launchers.
Trait Implementations§
Source§impl Clone for AlreadyRunning
impl Clone for AlreadyRunning
Source§fn clone(&self) -> AlreadyRunning
fn clone(&self) -> AlreadyRunning
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 moreimpl Copy for AlreadyRunning
Source§impl Debug for AlreadyRunning
impl Debug for AlreadyRunning
Source§impl Display for AlreadyRunning
impl Display for AlreadyRunning
impl Eq for AlreadyRunning
Source§impl Error for AlreadyRunning
impl Error for AlreadyRunning
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 AlreadyRunning
impl PartialEq for AlreadyRunning
Source§fn eq(&self, other: &AlreadyRunning) -> bool
fn eq(&self, other: &AlreadyRunning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlreadyRunning
Auto Trait Implementations§
impl Freeze for AlreadyRunning
impl RefUnwindSafe for AlreadyRunning
impl Send for AlreadyRunning
impl Sync for AlreadyRunning
impl Unpin for AlreadyRunning
impl UnsafeUnpin for AlreadyRunning
impl UnwindSafe for AlreadyRunning
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.