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§
Implementations§
Trait Implementations§
Source§impl Debug for SimpleServerEvent
impl Debug for SimpleServerEvent
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 PartialEq<ServerEvent> for SimpleServerEvent
impl PartialEq<ServerEvent> for SimpleServerEvent
Source§impl PartialEq<SimpleServerEvent> for ServerEvent
impl PartialEq<SimpleServerEvent> for ServerEvent
Source§impl PartialEq for SimpleServerEvent
impl PartialEq for SimpleServerEvent
impl StructuralPartialEq for SimpleServerEvent
Auto Trait Implementations§
impl Freeze for SimpleServerEvent
impl RefUnwindSafe for SimpleServerEvent
impl Send for SimpleServerEvent
impl Sync for SimpleServerEvent
impl Unpin for SimpleServerEvent
impl UnwindSafe for SimpleServerEvent
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