pub struct Addr(/* private fields */);Implementations§
Source§impl Addr
impl Addr
pub fn from_std(addr: SocketAddr) -> Self
pub fn from_unix_path(path: &Path) -> Result<Self>
pub fn into_std(self) -> Result<SocketAddr>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Addr
impl RefUnwindSafe for Addr
impl Send for Addr
impl Sync for Addr
impl Unpin for Addr
impl UnsafeUnpin for Addr
impl UnwindSafe for Addr
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