pub enum SegmentAddress {
V4(Ipv4Addr),
V6LinkLocal {
addr: Ipv6Addr,
scope: u32,
},
}Variants§
Trait Implementations§
Source§impl Clone for SegmentAddress
impl Clone for SegmentAddress
Source§fn clone(&self) -> SegmentAddress
fn clone(&self) -> SegmentAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SegmentAddress
Source§impl Debug for SegmentAddress
impl Debug for SegmentAddress
impl Eq for SegmentAddress
Source§impl PartialEq for SegmentAddress
impl PartialEq for SegmentAddress
impl StructuralPartialEq for SegmentAddress
Auto Trait Implementations§
impl Freeze for SegmentAddress
impl RefUnwindSafe for SegmentAddress
impl Send for SegmentAddress
impl Sync for SegmentAddress
impl Unpin for SegmentAddress
impl UnsafeUnpin for SegmentAddress
impl UnwindSafe for SegmentAddress
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