pub enum TemporaryRefPublicationLease {
Acquired,
AlreadyOwned,
HeldByOther,
Unsupported,
}Expand description
Result of a nonblocking cross-process publication-ownership attempt.
Variants§
Acquired
This publisher acquired the process-lifetime lease and retains it until explicit release or publisher drop.
AlreadyOwned
This publisher instance already retains the lease.
HeldByOther
Another live process owns the lease.
Unsupported
This alternate publisher cannot provide a process-lifetime lease.
Trait Implementations§
Source§impl Clone for TemporaryRefPublicationLease
impl Clone for TemporaryRefPublicationLease
impl Copy for TemporaryRefPublicationLease
Source§impl Debug for TemporaryRefPublicationLease
impl Debug for TemporaryRefPublicationLease
impl Eq for TemporaryRefPublicationLease
impl StructuralPartialEq for TemporaryRefPublicationLease
Auto Trait Implementations§
impl Freeze for TemporaryRefPublicationLease
impl RefUnwindSafe for TemporaryRefPublicationLease
impl Send for TemporaryRefPublicationLease
impl Sync for TemporaryRefPublicationLease
impl Unpin for TemporaryRefPublicationLease
impl UnsafeUnpin for TemporaryRefPublicationLease
impl UnwindSafe for TemporaryRefPublicationLease
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.