Enum scsys_core::addresses::MachineAddress
source · [−]pub enum MachineAddress {
Ip(IpAddr),
Socket(SocketAddr),
}
Variants
Ip(IpAddr)
Socket(SocketAddr)
Trait Implementations
sourceimpl Clone for MachineAddress
impl Clone for MachineAddress
sourcefn clone(&self) -> MachineAddress
fn clone(&self) -> MachineAddress
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 more
sourceimpl Debug for MachineAddress
impl Debug for MachineAddress
sourceimpl<'de> Deserialize<'de> for MachineAddress
impl<'de> Deserialize<'de> for MachineAddress
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for MachineAddress
impl Hash for MachineAddress
sourceimpl PartialEq<MachineAddress> for MachineAddress
impl PartialEq<MachineAddress> for MachineAddress
sourcefn eq(&self, other: &MachineAddress) -> bool
fn eq(&self, other: &MachineAddress) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MachineAddress) -> bool
fn ne(&self, other: &MachineAddress) -> bool
This method tests for !=
.
sourceimpl Serialize for MachineAddress
impl Serialize for MachineAddress
impl StructuralPartialEq for MachineAddress
Auto Trait Implementations
impl RefUnwindSafe for MachineAddress
impl Send for MachineAddress
impl Sync for MachineAddress
impl Unpin for MachineAddress
impl UnwindSafe for MachineAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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