pub enum ChannelMode {
Search,
Ingest,
Control,
}Expand description
Channel modes supported by sonic search backend.
Variants§
Search
Sonic server search channel mode.
In this mode you can use query, pag_query, suggest, lim_suggest, ping
and quit commands.
Note: This mode requires enabling the search feature.
Ingest
Sonic server ingest channel mode.
In this mode you can use push, pop, flush, count ping and quit commands.
Note: This mode requires enabling the ingest feature.
Control
Sonic server control channel mode.
In this mode you can use trigger, consolidate, backup, restore,
ping and quit commands.
Note: This mode requires enabling the control feature.
Implementations§
Trait Implementations§
Source§impl Clone for ChannelMode
impl Clone for ChannelMode
Source§fn clone(&self) -> ChannelMode
fn clone(&self) -> ChannelMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelMode
impl Debug for ChannelMode
Source§impl Display for ChannelMode
impl Display for ChannelMode
Source§impl PartialEq for ChannelMode
impl PartialEq for ChannelMode
impl Copy for ChannelMode
impl Eq for ChannelMode
impl StructuralPartialEq for ChannelMode
Auto Trait Implementations§
impl Freeze for ChannelMode
impl RefUnwindSafe for ChannelMode
impl Send for ChannelMode
impl Sync for ChannelMode
impl Unpin for ChannelMode
impl UnwindSafe for ChannelMode
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