[][src]Struct cdrs::types::blob::Blob

pub struct Blob(_);

Special type that represents Cassandra blob type.

Methods

impl Blob[src]

pub fn new(bytes: Vec<u8>) -> Self[src]

Constructor method that creates new blob value from a vector of bytes.

pub fn as_mut_slice<'a>(&'a mut self) -> &'a [u8][src]

Returns a mutable reference to an underlying slice of bytes.

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

Returns underlying vector of bytes.

Trait Implementations

impl Clone for Blob[src]

impl Debug for Blob[src]

impl Eq for Blob[src]

impl From<Vec<u8>> for Blob[src]

impl FromCDRS for Blob[src]

impl FromCDRSByName for Blob[src]

impl Hash for Blob[src]

impl Into<Bytes> for Blob[src]

impl IntoRustByIndex<Blob> for Row[src]

impl IntoRustByIndex<Blob> for Tuple[src]

impl IntoRustByName<Blob> for Row[src]

impl IntoRustByName<Blob> for UDT[src]

impl PartialEq<Blob> for Blob[src]

impl StructuralEq for Blob[src]

impl StructuralPartialEq for Blob[src]

Auto Trait Implementations

impl RefUnwindSafe for Blob

impl Send for Blob

impl Sync for Blob

impl Unpin for Blob

impl UnwindSafe for Blob

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.