Enum cassandra_protocol::frame::message_batch::BatchType
source · [−]pub enum BatchType {
Logged,
Unlogged,
Counter,
}
Expand description
Batch type
Variants
Logged
The batch will be “logged”. This is equivalent to a normal CQL3 batch statement.
Unlogged
The batch will be “unlogged”.
Counter
The batch will be a “counter” batch (and non-counter statements will be rejected).
Trait Implementations
sourceimpl Ord for BatchType
impl Ord for BatchType
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<BatchType> for BatchType
impl PartialOrd<BatchType> for BatchType
sourcefn partial_cmp(&self, other: &BatchType) -> Option<Ordering>
fn partial_cmp(&self, other: &BatchType) -> Option<Ordering>
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 moreimpl Copy for BatchType
impl Eq for BatchType
impl StructuralEq for BatchType
impl StructuralPartialEq for BatchType
Auto Trait Implementations
impl RefUnwindSafe for BatchType
impl Send for BatchType
impl Sync for BatchType
impl Unpin for BatchType
impl UnwindSafe for BatchType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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