[][src]Struct foundationdb::tuple::Bytes

pub struct Bytes<'a>(pub Cow<'a, [u8]>);

Represent a sequence of bytes (i.e. &u8)

This sequence can be either owned or borrowed.

Implementations

impl<'a> Bytes<'a>[src]

pub fn into_owned(self) -> Vec<u8>[src]

Trait Implementations

impl<'a> AsRef<[u8]> for Bytes<'a>[src]

impl<'a> Clone for Bytes<'a>[src]

impl<'a> Debug for Bytes<'a>[src]

impl<'a> Deref for Bytes<'a>[src]

type Target = [u8]

The resulting type after dereferencing.

impl<'a> Display for Bytes<'a>[src]

impl<'a> Eq for Bytes<'a>[src]

impl<'a> From<&'a [u8]> for Bytes<'a>[src]

impl<'a> From<&'a str> for Bytes<'a>[src]

impl From<String> for Bytes<'static>[src]

impl From<Vec<u8>> for Bytes<'static>[src]

impl<'a> Hash for Bytes<'a>[src]

impl<'a> Ord for Bytes<'a>[src]

impl<'a> PartialEq<Bytes<'a>> for Bytes<'a>[src]

impl<'a> PartialOrd<Bytes<'a>> for Bytes<'a>[src]

impl<'a> StructuralEq for Bytes<'a>[src]

impl<'a> StructuralPartialEq for Bytes<'a>[src]

impl<'a> TuplePack for Bytes<'a>[src]

impl<'de> TupleUnpack<'de> for Bytes<'de>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Bytes<'a>

impl<'a> Send for Bytes<'a>

impl<'a> Sync for Bytes<'a>

impl<'a> Unpin for Bytes<'a>

impl<'a> UnwindSafe for Bytes<'a>

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> ToString for T where
    T: Display + ?Sized
[src]

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>,