pub enum LocalAddressType {
Localhost,
Unspecified,
}Variants
Localhost
127.0.0.1
Unspecified
0.0.0.0
Implementations
Trait Implementations
sourceimpl Clone for LocalAddressType
impl Clone for LocalAddressType
sourcefn clone(&self) -> LocalAddressType
fn clone(&self) -> LocalAddressType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LocalAddressType
Auto Trait Implementations
impl RefUnwindSafe for LocalAddressType
impl Send for LocalAddressType
impl Sync for LocalAddressType
impl Unpin for LocalAddressType
impl UnwindSafe for LocalAddressType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more