pub struct EventsDaemonGuard { /* private fields */ }Expand description
Advisory lock guaranteeing at most one events daemon per socket path. Held for the daemon’s lifetime; a second daemon exits instead of stealing the socket path from the live one.
Auto Trait Implementations§
impl Forget for EventsDaemonGuard
impl Freeze for EventsDaemonGuardwhere
I32NotAllOnes: Freeze,
impl Move for EventsDaemonGuard
impl RefUnwindSafe for EventsDaemonGuardwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for EventsDaemonGuardwhere
I32NotAllOnes: Send,
impl Sync for EventsDaemonGuardwhere
I32NotAllOnes: Sync,
impl Unpin for EventsDaemonGuardwhere
I32NotAllOnes: Unpin,
impl UnsafeUnpin for EventsDaemonGuardwhere
I32NotAllOnes: UnsafeUnpin,
impl UnwindSafe for EventsDaemonGuardwhere
I32NotAllOnes: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more