pub struct SystemDNotify { /* private fields */ }
Expand description
Notification socket for sending messages to Systemd
The default construction is to build this from the environment via SystemDNotify::from_environment.
Implementations§
Source§impl SystemDNotify
impl SystemDNotify
Sourcepub fn from_environment() -> Result<Self, NotifyError>
pub fn from_environment() -> Result<Self, NotifyError>
Create a new SystemDNotify client from the environment
Trait Implementations§
Source§impl Clone for SystemDNotify
impl Clone for SystemDNotify
Source§fn clone(&self) -> SystemDNotify
fn clone(&self) -> SystemDNotify
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SystemDNotify
impl RefUnwindSafe for SystemDNotify
impl Send for SystemDNotify
impl Sync for SystemDNotify
impl Unpin for SystemDNotify
impl UnwindSafe for SystemDNotify
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