Struct cassandra_protocol::frame::ParsedFrame
source · [−]Fields
frame_len: usize
How many bytes from the buffer have been read.
frame: Frame
The parsed frame.
Implementations
sourceimpl ParsedFrame
impl ParsedFrame
pub fn new(frame_len: usize, frame: Frame) -> ParsedFrame
Trait Implementations
sourceimpl Clone for ParsedFrame
impl Clone for ParsedFrame
sourcefn clone(&self) -> ParsedFrame
fn clone(&self) -> ParsedFrame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ParsedFrame
impl Debug for ParsedFrame
sourceimpl Hash for ParsedFrame
impl Hash for ParsedFrame
sourceimpl Ord for ParsedFrame
impl Ord for ParsedFrame
sourceimpl PartialEq<ParsedFrame> for ParsedFrame
impl PartialEq<ParsedFrame> for ParsedFrame
sourcefn eq(&self, other: &ParsedFrame) -> bool
fn eq(&self, other: &ParsedFrame) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParsedFrame) -> bool
fn ne(&self, other: &ParsedFrame) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ParsedFrame> for ParsedFrame
impl PartialOrd<ParsedFrame> for ParsedFrame
sourcefn partial_cmp(&self, other: &ParsedFrame) -> Option<Ordering>
fn partial_cmp(&self, other: &ParsedFrame) -> 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 ParsedFrame
impl StructuralEq for ParsedFrame
impl StructuralPartialEq for ParsedFrame
Auto Trait Implementations
impl RefUnwindSafe for ParsedFrame
impl Send for ParsedFrame
impl Sync for ParsedFrame
impl Unpin for ParsedFrame
impl UnwindSafe for ParsedFrame
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