pub enum SocketNotifyMode {
Container,
Conmon,
Ignore,
}Expand description
How to handle the NOTIFY_SOCKET. Used with
sdnotify_mode.
Variants§
Container
Let the OCI runtime deal with it, advertise conmon’s MAINPID.
Conmon
Advertise conmon’s MAINPID, send READY when started, don’t pass to OCI.
Ignore
Unset NOTIFY_SOCKET
Trait Implementations§
Source§impl AsRef<str> for SocketNotifyMode
impl AsRef<str> for SocketNotifyMode
Source§impl Clone for SocketNotifyMode
impl Clone for SocketNotifyMode
Source§fn clone(&self) -> SocketNotifyMode
fn clone(&self) -> SocketNotifyMode
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 SocketNotifyMode
Source§impl Debug for SocketNotifyMode
impl Debug for SocketNotifyMode
Source§impl Display for SocketNotifyMode
impl Display for SocketNotifyMode
impl Eq for SocketNotifyMode
Source§impl PartialEq for SocketNotifyMode
impl PartialEq for SocketNotifyMode
Source§fn eq(&self, other: &SocketNotifyMode) -> bool
fn eq(&self, other: &SocketNotifyMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SocketNotifyMode
Auto Trait Implementations§
impl Freeze for SocketNotifyMode
impl RefUnwindSafe for SocketNotifyMode
impl Send for SocketNotifyMode
impl Sync for SocketNotifyMode
impl Unpin for SocketNotifyMode
impl UnsafeUnpin for SocketNotifyMode
impl UnwindSafe for SocketNotifyMode
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