Struct cassandra_protocol::types::CBytes
source · [−]pub struct CBytes { /* private fields */ }
Expand description
The structure that represents Cassandra byte type.
Implementations
sourceimpl CBytes
impl CBytes
Trait Implementations
sourceimpl FromCursor for CBytes
impl FromCursor for CBytes
sourcefn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CBytes>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CBytes>
from_cursor gets Cursor who’s position is set such that it should be a start of bytes. It reads required number of bytes and returns a CBytes
sourceimpl Ord for CBytes
impl Ord for CBytes
sourceimpl PartialOrd<CBytes> for CBytes
impl PartialOrd<CBytes> for CBytes
sourcefn partial_cmp(&self, other: &CBytes) -> Option<Ordering>
fn partial_cmp(&self, other: &CBytes) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for CBytes
impl StructuralEq for CBytes
impl StructuralPartialEq for CBytes
Auto Trait Implementations
impl RefUnwindSafe for CBytes
impl Send for CBytes
impl Sync for CBytes
impl Unpin for CBytes
impl UnwindSafe for CBytes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more