#[repr(u8)]pub enum MachineSocket {
Manager = 1,
Metrics = 2,
Network = 3,
}Expand description
The machine sockets a connector may connect to.
A fixed allowlist sent as a single byte, rather than arbitrary paths, so a helper can only ever be used to reach these read-mostly systemd endpoints.
Variants§
Manager = 1
PID 1’s io.systemd.Manager, io.systemd.Unit and io.systemd.Job.
Metrics = 2
PID 1’s io.systemd.Metrics report socket.
Network = 3
systemd-networkd’s io.systemd.Network.
Implementations§
Source§impl MachineSocket
impl MachineSocket
Trait Implementations§
Source§impl Clone for MachineSocket
impl Clone for MachineSocket
Source§fn clone(&self) -> MachineSocket
fn clone(&self) -> MachineSocket
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 MachineSocket
Source§impl Debug for MachineSocket
impl Debug for MachineSocket
impl Eq for MachineSocket
Source§impl PartialEq for MachineSocket
impl PartialEq for MachineSocket
Source§fn eq(&self, other: &MachineSocket) -> bool
fn eq(&self, other: &MachineSocket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MachineSocket
Auto Trait Implementations§
impl Freeze for MachineSocket
impl RefUnwindSafe for MachineSocket
impl Send for MachineSocket
impl Sync for MachineSocket
impl Unpin for MachineSocket
impl UnsafeUnpin for MachineSocket
impl UnwindSafe for MachineSocket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.