pub struct Ipv6Address {
pub octets: [u8; 16],
}
Expand description
An IPv6 address.
Fields§
§octets: [u8; 16]
IP address octets.
Trait Implementations§
Source§impl Clone for Ipv6Address
impl Clone for Ipv6Address
Source§fn clone(&self) -> Ipv6Address
fn clone(&self) -> Ipv6Address
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 moreSource§impl Debug for Ipv6Address
impl Debug for Ipv6Address
Source§impl Parse<'_> for Ipv6Address
impl Parse<'_> for Ipv6Address
Source§fn parse_partial(reader: &mut ByteReader<'_>) -> Result<Ipv6Address, ParseError>
fn parse_partial(reader: &mut ByteReader<'_>) -> Result<Ipv6Address, ParseError>
Parses a SOME/IP payload type from a given slice of bytes. Read more
Source§impl PartialEq for Ipv6Address
impl PartialEq for Ipv6Address
Source§impl Serialize for Ipv6Address
impl Serialize for Ipv6Address
Source§fn required_length(&self) -> usize
fn required_length(&self) -> usize
Returns the number of bytes required to store the serialized version of self.
Source§fn serialize_partial(
&self,
byte_writer: &mut ByteWriter<'_>,
) -> Result<(), SerializeError>
fn serialize_partial( &self, byte_writer: &mut ByteWriter<'_>, ) -> Result<(), SerializeError>
Serializes to a byte writer.
impl Eq for Ipv6Address
impl StructuralPartialEq for Ipv6Address
Auto Trait Implementations§
impl Freeze for Ipv6Address
impl RefUnwindSafe for Ipv6Address
impl Send for Ipv6Address
impl Sync for Ipv6Address
impl Unpin for Ipv6Address
impl UnwindSafe for Ipv6Address
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