pub struct RemoteAddress {
pub host: String,
pub port: u16,
pub service: String,
}Expand description
Remote address for cross-machine communication
Fields§
§host: StringRemote host name or IP address.
port: u16Remote TCP port.
service: StringService label carried in the address display form.
Trait Implementations§
Source§impl Clone for RemoteAddress
impl Clone for RemoteAddress
Source§fn clone(&self) -> RemoteAddress
fn clone(&self) -> RemoteAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoteAddress
impl Debug for RemoteAddress
Source§impl Display for RemoteAddress
impl Display for RemoteAddress
impl Eq for RemoteAddress
Source§impl Hash for RemoteAddress
impl Hash for RemoteAddress
Source§impl PartialEq for RemoteAddress
impl PartialEq for RemoteAddress
impl StructuralPartialEq for RemoteAddress
Auto Trait Implementations§
impl Freeze for RemoteAddress
impl RefUnwindSafe for RemoteAddress
impl Send for RemoteAddress
impl Sync for RemoteAddress
impl Unpin for RemoteAddress
impl UnsafeUnpin for RemoteAddress
impl UnwindSafe for RemoteAddress
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