#[non_exhaustive]pub enum SystemdSocket {}
Expand description
A socket that systemd handed us over.
Implementations§
Source§impl SystemdSocket
impl SystemdSocket
Sourcepub fn get_all() -> Result<Vec<SystemdSocket>>
pub fn get_all() -> Result<Vec<SystemdSocket>>
Get all sockets from systemd.
All environment variables related to this operation will be cleared.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SystemdSocket
impl RefUnwindSafe for SystemdSocket
impl Send for SystemdSocket
impl Sync for SystemdSocket
impl Unpin for SystemdSocket
impl UnwindSafe for SystemdSocket
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