Enum cassandra_protocol::frame::events::SimpleServerEvent
source · [−]pub enum SimpleServerEvent {
TopologyChange,
StatusChange,
SchemaChange,
}
Expand description
Simplified ServerEvent
that does not contain details
about a concrete change. It may be useful for subscription
when you need only string representation of an event.
Variants
TopologyChange
StatusChange
SchemaChange
Implementations
Trait Implementations
sourceimpl Clone for SimpleServerEvent
impl Clone for SimpleServerEvent
sourcefn clone(&self) -> SimpleServerEvent
fn clone(&self) -> SimpleServerEvent
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 moresourceimpl Debug for SimpleServerEvent
impl Debug for SimpleServerEvent
sourceimpl<'a> From<&'a ServerEvent> for SimpleServerEvent
impl<'a> From<&'a ServerEvent> for SimpleServerEvent
sourcefn from(event: &'a ServerEvent) -> SimpleServerEvent
fn from(event: &'a ServerEvent) -> SimpleServerEvent
Converts to this type from the input type.
sourceimpl From<ServerEvent> for SimpleServerEvent
impl From<ServerEvent> for SimpleServerEvent
sourcefn from(event: ServerEvent) -> SimpleServerEvent
fn from(event: ServerEvent) -> SimpleServerEvent
Converts to this type from the input type.
sourceimpl Hash for SimpleServerEvent
impl Hash for SimpleServerEvent
sourceimpl Ord for SimpleServerEvent
impl Ord for SimpleServerEvent
sourcefn cmp(&self, other: &SimpleServerEvent) -> Ordering
fn cmp(&self, other: &SimpleServerEvent) -> Ordering
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 PartialEq<ServerEvent> for SimpleServerEvent
impl PartialEq<ServerEvent> for SimpleServerEvent
sourcefn eq(&self, full_event: &ServerEvent) -> bool
fn eq(&self, full_event: &ServerEvent) -> bool
sourceimpl PartialEq<SimpleServerEvent> for ServerEvent
impl PartialEq<SimpleServerEvent> for ServerEvent
sourcefn eq(&self, event: &SimpleServerEvent) -> bool
fn eq(&self, event: &SimpleServerEvent) -> bool
sourceimpl PartialEq<SimpleServerEvent> for SimpleServerEvent
impl PartialEq<SimpleServerEvent> for SimpleServerEvent
sourcefn eq(&self, other: &SimpleServerEvent) -> bool
fn eq(&self, other: &SimpleServerEvent) -> bool
sourceimpl PartialOrd<SimpleServerEvent> for SimpleServerEvent
impl PartialOrd<SimpleServerEvent> for SimpleServerEvent
sourcefn partial_cmp(&self, other: &SimpleServerEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &SimpleServerEvent) -> 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 moresourceimpl TryFrom<&str> for SimpleServerEvent
impl TryFrom<&str> for SimpleServerEvent
impl Copy for SimpleServerEvent
impl Eq for SimpleServerEvent
impl StructuralEq for SimpleServerEvent
impl StructuralPartialEq for SimpleServerEvent
Auto Trait Implementations
impl RefUnwindSafe for SimpleServerEvent
impl Send for SimpleServerEvent
impl Sync for SimpleServerEvent
impl Unpin for SimpleServerEvent
impl UnwindSafe for SimpleServerEvent
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