pub struct CoreClient { /* private fields */ }Implementations§
Source§impl CoreClient
impl CoreClient
pub async fn insert<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn batch_insert<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn search<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn delete_node<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn delete_run<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn create_session<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn snapshot_session<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn load_session<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn commit_session<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn drop_session<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn write_memory<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn read_memory<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn add_memory<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn get_memory<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn clear_memory<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn grant_permission<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn revoke_permission<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn check_permission<T: Serialize>(&self, payload: T) -> Result<Value>
pub async fn unsubscribe_events<T: Serialize>( &self, payload: T, ) -> Result<Value>
Source§impl CoreClient
impl CoreClient
pub async fn subscribe_events<T: Serialize>( &self, payload: T, ) -> Result<ValueStream>
pub async fn watch_memory<T: Serialize>( &self, payload: T, ) -> Result<ValueStream>
pub async fn list_subscriptions(&self) -> Result<Value>
pub async fn storage_stats(&self) -> Result<Value>
pub async fn trigger_compaction(&self) -> Result<Value>
Trait Implementations§
Source§impl Clone for CoreClient
impl Clone for CoreClient
Source§fn clone(&self) -> CoreClient
fn clone(&self) -> CoreClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for CoreClient
impl !UnwindSafe for CoreClient
impl Freeze for CoreClient
impl Send for CoreClient
impl Sync for CoreClient
impl Unpin for CoreClient
impl UnsafeUnpin for CoreClient
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request