pub enum CommandEndpoint {
Stdio,
UnixSocket(PathBuf),
Tcp(String),
Unavailable,
}Expand description
Describes how the container establishes the host command channel transport.
Variants§
Stdio
UnixSocket(PathBuf)
Tcp(String)
Marker used when the runtime intentionally disables the command channel.
Trait Implementations§
Source§impl Clone for CommandEndpoint
impl Clone for CommandEndpoint
Source§fn clone(&self) -> CommandEndpoint
fn clone(&self) -> CommandEndpoint
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 moreSource§impl Debug for CommandEndpoint
impl Debug for CommandEndpoint
Source§impl Default for CommandEndpoint
impl Default for CommandEndpoint
Source§fn default() -> CommandEndpoint
fn default() -> CommandEndpoint
Returns the “default value” for a type. Read more
Source§impl FromStr for CommandEndpoint
impl FromStr for CommandEndpoint
Source§impl PartialEq for CommandEndpoint
impl PartialEq for CommandEndpoint
impl Eq for CommandEndpoint
impl StructuralPartialEq for CommandEndpoint
Auto Trait Implementations§
impl Freeze for CommandEndpoint
impl RefUnwindSafe for CommandEndpoint
impl Send for CommandEndpoint
impl Sync for CommandEndpoint
impl Unpin for CommandEndpoint
impl UnwindSafe for CommandEndpoint
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