[][src]Struct domain::base::octets::Octets1024

pub struct Octets1024 { /* fields omitted */ }

A fixed length octet buffer.

The type functions both as an octets sequence and an octets builder atop a fixed size bytes array.

Implementations

impl Octets1024[src]

pub fn new() -> Self[src]

Creates a new empty value.

pub fn as_slice(&self) -> &[u8][src]

Returns the contents as an octet slice.

pub fn as_slice_mut(&mut self) -> &mut [u8][src]

Returns the contents as a mutable octet slice.

Trait Implementations

impl AsMut<[u8]> for Octets1024[src]

impl AsRef<[u8]> for Octets1024[src]

impl Borrow<[u8]> for Octets1024[src]

impl BorrowMut<[u8]> for Octets1024[src]

impl Clone for Octets1024[src]

impl Debug for Octets1024[src]

impl Default for Octets1024[src]

impl Deref for Octets1024[src]

type Target = [u8]

The resulting type after dereferencing.

impl DerefMut for Octets1024[src]

impl EmptyBuilder for Octets1024[src]

impl Eq for Octets1024[src]

impl FromBuilder for Octets1024[src]

type Builder = Self

The type of builder this octets type can be created from.

impl Hash for Octets1024[src]

impl IntoBuilder for Octets1024[src]

type Builder = Self

The type of octets builder this octets type can be converted into. Read more

impl IntoOctets for Octets1024[src]

type Octets = Self

The type of the octets the builder can be converted into. Read more

impl OctetsBuilder for Octets1024[src]

impl Ord for Octets1024[src]

impl<T: AsRef<[u8]>> PartialEq<T> for Octets1024[src]

impl<T: AsRef<[u8]>> PartialOrd<T> for Octets1024[src]

impl<'a> TryFrom<&'a [u8]> for Octets1024[src]

type Error = ShortBuf

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,