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 copy of the value. Read more
1.0.0 · 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 SocketNotifyMode
impl Debug for SocketNotifyMode
Source§impl Display for SocketNotifyMode
impl Display for SocketNotifyMode
Source§impl PartialEq for SocketNotifyMode
impl PartialEq for SocketNotifyMode
impl Copy for SocketNotifyMode
impl Eq for SocketNotifyMode
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 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