Struct wick_config::TcpPort
source · pub struct TcpPort {
pub port: u16,
pub address: String,
}Expand description
Normalized representation of a TCP port configuration.
Fields§
§port: u16The port number.
address: StringThe address to bind to.
Trait Implementations§
source§impl PartialEq<TcpPort> for TcpPort
impl PartialEq<TcpPort> for TcpPort
impl Eq for TcpPort
impl StructuralEq for TcpPort
impl StructuralPartialEq for TcpPort
Auto Trait Implementations§
impl RefUnwindSafe for TcpPort
impl Send for TcpPort
impl Sync for TcpPort
impl Unpin for TcpPort
impl UnwindSafe for TcpPort
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.