pub enum ServerConnectionProvenance {
StartedByCaller,
JoinedExisting,
}Expand description
Identifies whether the current command started the daemon it connected to.
Variants§
StartedByCaller
This command won the serialized startup race and launched the daemon.
JoinedExisting
The daemon already existed, including when another caller won the race.
Trait Implementations§
Source§impl Clone for ServerConnectionProvenance
impl Clone for ServerConnectionProvenance
Source§fn clone(&self) -> ServerConnectionProvenance
fn clone(&self) -> ServerConnectionProvenance
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 ServerConnectionProvenance
Source§impl Debug for ServerConnectionProvenance
impl Debug for ServerConnectionProvenance
impl Eq for ServerConnectionProvenance
impl StructuralPartialEq for ServerConnectionProvenance
Auto Trait Implementations§
impl Freeze for ServerConnectionProvenance
impl RefUnwindSafe for ServerConnectionProvenance
impl Send for ServerConnectionProvenance
impl Sync for ServerConnectionProvenance
impl Unpin for ServerConnectionProvenance
impl UnsafeUnpin for ServerConnectionProvenance
impl UnwindSafe for ServerConnectionProvenance
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