pub struct AddressRef<'a> {
pub host: HostRef<'a>,
pub port: u16,
}Fields§
§host: HostRef<'a>§port: u16Trait Implementations§
Source§impl<'a> Clone for AddressRef<'a>
impl<'a> Clone for AddressRef<'a>
Source§fn clone(&self) -> AddressRef<'a>
fn clone(&self) -> AddressRef<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for AddressRef<'a>
impl<'a> Debug for AddressRef<'a>
Source§impl<'a> PartialEq for AddressRef<'a>
impl<'a> PartialEq for AddressRef<'a>
impl<'a> Eq for AddressRef<'a>
impl<'a> StructuralPartialEq for AddressRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddressRef<'a>
impl<'a> RefUnwindSafe for AddressRef<'a>
impl<'a> Send for AddressRef<'a>
impl<'a> Sync for AddressRef<'a>
impl<'a> Unpin for AddressRef<'a>
impl<'a> UnsafeUnpin for AddressRef<'a>
impl<'a> UnwindSafe for AddressRef<'a>
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