pub enum AddrClaimMode {
DoNotClaim,
ClaimIfUnresponsive,
ForceClaim,
}Expand description
Defines under which conditions should the daemon claim an occupied socket address.
This is only effective if filesystem sockets are used.
Variants§
DoNotClaim
Do not claim the socket address under any circumstances.
ClaimIfUnresponsive
Only claim the socket address if there is no response to ping commands from the process that listens on the socket.
ForceClaim
Force claim the socket address.
Trait Implementations§
Source§impl Clone for AddrClaimMode
impl Clone for AddrClaimMode
Source§fn clone(&self) -> AddrClaimMode
fn clone(&self) -> AddrClaimMode
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 moreSource§impl Debug for AddrClaimMode
impl Debug for AddrClaimMode
Source§impl Default for AddrClaimMode
impl Default for AddrClaimMode
Source§fn default() -> AddrClaimMode
fn default() -> AddrClaimMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddrClaimMode
impl<'de> Deserialize<'de> for AddrClaimMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for AddrClaimMode
impl Hash for AddrClaimMode
Source§impl PartialEq for AddrClaimMode
impl PartialEq for AddrClaimMode
Source§fn eq(&self, other: &AddrClaimMode) -> bool
fn eq(&self, other: &AddrClaimMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddrClaimMode
impl Serialize for AddrClaimMode
impl Copy for AddrClaimMode
impl Eq for AddrClaimMode
impl StructuralPartialEq for AddrClaimMode
Auto Trait Implementations§
impl Freeze for AddrClaimMode
impl RefUnwindSafe for AddrClaimMode
impl Send for AddrClaimMode
impl Sync for AddrClaimMode
impl Unpin for AddrClaimMode
impl UnsafeUnpin for AddrClaimMode
impl UnwindSafe for AddrClaimMode
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