pub enum VarlinkEndpoint {
Path(String),
Machine {
connector: Arc<MachineConnector>,
socket: MachineSocket,
},
}Expand description
A varlink socket to connect to: either reachable by path from monitord’s
own namespaces (the host), or inside a machine, connected from within the
machine’s PID namespace by its MachineConnector.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VarlinkEndpoint
impl Clone for VarlinkEndpoint
Source§fn clone(&self) -> VarlinkEndpoint
fn clone(&self) -> VarlinkEndpoint
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 moreSource§impl Debug for VarlinkEndpoint
impl Debug for VarlinkEndpoint
Source§impl Display for VarlinkEndpoint
impl Display for VarlinkEndpoint
Source§impl From<&str> for VarlinkEndpoint
impl From<&str> for VarlinkEndpoint
Auto Trait Implementations§
impl Freeze for VarlinkEndpoint
impl RefUnwindSafe for VarlinkEndpoint
impl Send for VarlinkEndpoint
impl Sync for VarlinkEndpoint
impl Unpin for VarlinkEndpoint
impl UnsafeUnpin for VarlinkEndpoint
impl UnwindSafe for VarlinkEndpoint
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