pub enum ServerEvent {
TopologyChange(TopologyChange),
StatusChange(StatusChange),
SchemaChange(SchemaChange),
}Expand description
Full server event that contains all details about a concreate change.
Variants§
TopologyChange(TopologyChange)
Events related to change in the cluster topology
StatusChange(StatusChange)
Events related to change of node status.
SchemaChange(SchemaChange)
Events related to schema change.
Trait Implementations§
Source§impl Debug for ServerEvent
impl Debug for ServerEvent
Source§impl<'a> From<&'a ServerEvent> for SimpleServerEvent
impl<'a> From<&'a ServerEvent> for SimpleServerEvent
Source§fn from(event: &'a ServerEvent) -> SimpleServerEvent
fn from(event: &'a ServerEvent) -> SimpleServerEvent
Converts to this type from the input type.
Source§impl From<ServerEvent> for SimpleServerEvent
impl From<ServerEvent> for SimpleServerEvent
Source§fn from(event: ServerEvent) -> SimpleServerEvent
fn from(event: ServerEvent) -> SimpleServerEvent
Converts to this type from the input type.
Source§impl FromCursor for ServerEvent
impl FromCursor for ServerEvent
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ServerEvent>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ServerEvent>
It should return an implementor from an
io::Cursor over an array of bytes.Source§impl PartialEq<ServerEvent> for SimpleServerEvent
impl PartialEq<ServerEvent> for SimpleServerEvent
Source§impl PartialEq<SimpleServerEvent> for ServerEvent
impl PartialEq<SimpleServerEvent> for ServerEvent
Auto Trait Implementations§
impl Freeze for ServerEvent
impl RefUnwindSafe for ServerEvent
impl Send for ServerEvent
impl Sync for ServerEvent
impl Unpin for ServerEvent
impl UnwindSafe for ServerEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more