pub enum Outcome {
AlreadyRunning,
Bound(BoundDaemon),
}Expand description
Result of singleton discovery.
Variants§
AlreadyRunning
A live daemon authenticated from the connection file; this invocation should exit 0.
Bound(BoundDaemon)
This process won the singleton race, owns bound loopback listener(s), and has published a fresh connection file.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcomewhere
*const u8 is !null: Freeze,
PhantomData<TcpListener>: Freeze,
I32NotAllOnes: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Endpoint>: Freeze,
*const ArcInner<File> is !null: Freeze,
PhantomData<ArcInner<File>>: Freeze,
impl Move for Outcome
impl RefUnwindSafe for Outcomewhere
PollEvented<TcpListener>: RefUnwindSafe,
I32NotAllOnes: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<TcpListener>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Endpoint>: UnsafeUnpin,
*const ArcInner<File> is !null: UnsafeUnpin,
PhantomData<ArcInner<File>>: UnsafeUnpin,
impl UnwindSafe for Outcomewhere
RawVecInner: UnwindSafe,
PollEvented<TcpListener>: UnwindSafe,
I32NotAllOnes: UnwindSafe,
Arc<File>: UnwindSafe,
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