pub struct PreferredAddress { /* private fields */ }Implementations§
Source§impl PreferredAddress
impl PreferredAddress
pub fn set_address_v4(&mut self, val: SocketAddrV4) -> &mut Self
pub fn set_address_v6(&mut self, val: SocketAddrV6) -> &mut Self
pub fn set_connection_id(&mut self, val: ConnectionId) -> &mut Self
pub fn set_stateless_reset_token(&mut self, val: ResetToken) -> &mut Self
Source§impl PreferredAddress
impl PreferredAddress
pub fn encoding_size(&self) -> usize
Trait Implementations§
Source§impl Clone for PreferredAddress
impl Clone for PreferredAddress
Source§fn clone(&self) -> PreferredAddress
fn clone(&self) -> PreferredAddress
Returns a copy 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 Debug for PreferredAddress
impl Debug for PreferredAddress
Source§impl PartialEq for PreferredAddress
impl PartialEq for PreferredAddress
impl Copy for PreferredAddress
impl StructuralPartialEq for PreferredAddress
Auto Trait Implementations§
impl Freeze for PreferredAddress
impl RefUnwindSafe for PreferredAddress
impl Send for PreferredAddress
impl Sync for PreferredAddress
impl Unpin for PreferredAddress
impl UnwindSafe for PreferredAddress
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