[−][src]Struct cassandra_proto::types::blob::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]
fn from_cdrs<T>(cdrs_type: T) -> CDRSResult<Option<Self>> where
Self: Sized,
T: AsRustType<Self> + Sized, [src]
Self: Sized,
T: AsRustType<Self> + Sized,
fn from_cdrs_r<T>(cdrs_type: T) -> CDRSResult<Self> where
Self: Sized,
T: AsRustType<Self> + Sized, [src]
Self: Sized,
T: AsRustType<Self> + Sized,
impl FromCDRSByName for Blob[src]
fn from_cdrs_by_name<T>(cdrs_type: &T, name: &str) -> CDRSResult<Option<Self>> where
Self: Sized,
T: ByName + IntoRustByName<Self> + Sized, [src]
Self: Sized,
T: ByName + IntoRustByName<Self> + Sized,
fn from_cdrs_r<T>(cdrs_type: &T, name: &str) -> CDRSResult<Self> where
Self: Sized,
T: ByName + IntoRustByName<Self> + Sized + Debug, [src]
Self: Sized,
T: ByName + IntoRustByName<Self> + Sized + Debug,
impl Hash for Blob[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Into<Bytes> for Blob[src]
impl IntoRustByIndex<Blob> for Row[src]
fn get_by_index(&self, index: usize) -> Result<Option<Blob>>[src]
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>[src]
impl IntoRustByIndex<Blob> for Tuple[src]
fn get_by_index(&self, index: usize) -> Result<Option<Blob>>[src]
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>[src]
impl IntoRustByName<Blob> for Row[src]
fn get_by_name(&self, name: &str) -> Result<Option<Blob>>[src]
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>[src]
impl IntoRustByName<Blob> for UDT[src]
fn get_by_name(&self, name: &str) -> Result<Option<Blob>>[src]
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,