pub struct EndpointAddr {
pub host: String,
pub port: u16,
}Expand description
A TCP address of an endpoint, as in giop:tcp:HOST:PORT (or
giop:ssl:HOST:PORT for a TLS endpoint).
Fields§
§host: StringHost name or address. Empty means every interface when listening, and the host name of the machine when published.
port: u16TCP port; 0 lets the operating system choose.
Implementations§
Source§impl EndpointAddr
impl EndpointAddr
Trait Implementations§
Source§impl Clone for EndpointAddr
impl Clone for EndpointAddr
Source§impl Debug for EndpointAddr
impl Debug for EndpointAddr
impl Eq for EndpointAddr
Source§impl PartialEq for EndpointAddr
impl PartialEq for EndpointAddr
impl StructuralPartialEq for EndpointAddr
Auto Trait Implementations§
impl Forget for EndpointAddr
impl Freeze for EndpointAddr
impl Move for EndpointAddr
impl RefUnwindSafe for EndpointAddr
impl Send for EndpointAddr
impl Sync for EndpointAddr
impl Unpin for EndpointAddr
impl UnsafeUnpin for EndpointAddr
impl UnwindSafe for EndpointAddr
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