Enum sonic_channel::ChannelMode
source · [−]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
sourceimpl ChannelMode
impl ChannelMode
Trait Implementations
sourceimpl Clone for ChannelMode
impl Clone for ChannelMode
sourcefn clone(&self) -> ChannelMode
fn clone(&self) -> ChannelMode
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ChannelMode
impl Debug for ChannelMode
sourceimpl Display for ChannelMode
impl Display for ChannelMode
sourceimpl PartialEq<ChannelMode> for ChannelMode
impl PartialEq<ChannelMode> for ChannelMode
sourcefn eq(&self, other: &ChannelMode) -> bool
fn eq(&self, other: &ChannelMode) -> bool
impl Copy for ChannelMode
impl Eq for ChannelMode
impl StructuralEq for ChannelMode
impl StructuralPartialEq for ChannelMode
Auto Trait Implementations
impl RefUnwindSafe for ChannelMode
impl Send for ChannelMode
impl Sync for ChannelMode
impl Unpin for ChannelMode
impl UnwindSafe for ChannelMode
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