pub struct EsClient { /* private fields */ }
Implementations§
Source§impl EsClient
impl EsClient
pub fn clear_cache(&self) -> Result<(), ClearCacheResult>
pub fn subscribe_to_events(&self, events: &Vec<SupportedEsEvent>) -> bool
pub fn unsubscribe_to_events(&self, events: &Vec<SupportedEsEvent>) -> bool
pub fn set_subscriptions_to(&self, events: &Vec<SupportedEsEvent>) -> bool
pub fn respond_to_flags_event( &self, message: &EsMessage, authorized_flags: u32, should_cache: &EsCacheResult, ) -> EsRespondResult
pub fn respond_to_auth_event( &self, message: &EsMessage, response: &EsAuthResult, should_cache: &EsCacheResult, ) -> EsRespondResult
Trait Implementations§
impl Send for EsClient
impl Sync for EsClient
Auto Trait Implementations§
impl Freeze for EsClient
impl RefUnwindSafe for EsClient
impl Unpin for EsClient
impl UnwindSafe for EsClient
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