[−][src]Struct cassandra_proto::types::CBytesShort
Cassandra short bytes
Methods
impl CBytesShort
[src]
pub fn new(bytes: Vec<u8>) -> CBytesShort
[src]
pub fn into_plain(self) -> Option<Vec<u8>>
[src]
Converts CBytesShort
into plain vector of bytes;
Trait Implementations
impl Clone for CBytesShort
[src]
fn clone(&self) -> CBytesShort
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CBytesShort
[src]
impl FromCursor for CBytesShort
[src]
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CBytesShort>
[src]
from_cursor gets Cursor who's position is set such that it should be a start of a [bytes]. It reads required number of bytes and returns a CBytes
impl IntoBytes for CBytesShort
[src]
fn into_cbytes(&self) -> Vec<u8>
[src]
Auto Trait Implementations
impl RefUnwindSafe for CBytesShort
impl Send for CBytesShort
impl Sync for CBytesShort
impl Unpin for CBytesShort
impl UnwindSafe for CBytesShort
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>,