pub struct AddrInfo {
pub host: String,
pub port: u16,
}
Fields§
§host: String
§port: u16
Implementations§
Trait Implementations§
impl StructuralPartialEq for AddrInfo
Auto Trait Implementations§
impl Freeze for AddrInfo
impl RefUnwindSafe for AddrInfo
impl Send for AddrInfo
impl Sync for AddrInfo
impl Unpin for AddrInfo
impl UnwindSafe for AddrInfo
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