pub enum ListenerKind {
Tcp(String),
Unix(PathBuf),
Mtls(String, TlsConfig),
}Variants§
Tcp(String)
host:port, which must resolve to loopback only.
Unix(PathBuf)
Mtls(String, TlsConfig)
host:port on any address, TLS with required client certificates:
an agent’s listener for its control plane (docs/guides/servers.md).
Trait Implementations§
Source§impl Clone for ListenerKind
impl Clone for ListenerKind
Auto Trait Implementations§
impl Freeze for ListenerKind
impl RefUnwindSafe for ListenerKind
impl Send for ListenerKind
impl Sync for ListenerKind
impl Unpin for ListenerKind
impl UnsafeUnpin for ListenerKind
impl UnwindSafe for ListenerKind
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