pub struct HostPort { /* private fields */ }
Expand description
Structure used to bind a host port to a container port with expose
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostPort
impl<'de> Deserialize<'de> for HostPort
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SocketAddr> for HostPort
impl From<SocketAddr> for HostPort
Source§fn from(value: SocketAddr) -> Self
fn from(value: SocketAddr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HostPort
impl RefUnwindSafe for HostPort
impl Send for HostPort
impl Sync for HostPort
impl Unpin for HostPort
impl UnwindSafe for HostPort
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