pub struct CompressedAddress {
pub addr_type: AddressType,
pub addr_data: Vec<u8>,
pub addr_bits: usize,
pub port_data: Vec<u8>,
pub port_bits: usize,
pub total_bits: usize,
}
Expand description
Compressed address representation
Fields§
§addr_type: AddressType
§addr_data: Vec<u8>
§addr_bits: usize
§port_data: Vec<u8>
§port_bits: usize
§total_bits: usize
Implementations§
Trait Implementations§
Source§impl Clone for CompressedAddress
impl Clone for CompressedAddress
Source§fn clone(&self) -> CompressedAddress
fn clone(&self) -> CompressedAddress
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CompressedAddress
impl RefUnwindSafe for CompressedAddress
impl Send for CompressedAddress
impl Sync for CompressedAddress
impl Unpin for CompressedAddress
impl UnwindSafe for CompressedAddress
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