pub struct CheckClient { /* private fields */ }Implementations§
Source§impl CheckClient
impl CheckClient
Source§impl CheckClient
impl CheckClient
pub async fn create(uri: Uri) -> Result<Self, ConnectError>
pub async fn add_one(&mut self, tuple: Tuple) -> Result<String, AddError>
pub async fn add_one_with_condition( &mut self, tuple: Tuple, condition: Condition, ) -> Result<String, AddError>
pub async fn add_many(&mut self, tuples: Vec<Tuple>) -> Result<String, AddError>
pub async fn delete_one(&mut self, tuple: Tuple) -> Result<String, AddError>
Source§impl CheckClient
impl CheckClient
pub async fn check( &mut self, __arg1: Namespace, __arg2: Obj, __arg3: Permission, __arg4: UserId, timestamp: Option<Timestamp>, ) -> Result<CheckResult, CallError>
pub async fn list( &mut self, __arg1: Namespace, __arg2: Rel, __arg3: UserId, timestamp: Option<Timestamp>, ) -> Result<Vec<String>, CallError>
Trait Implementations§
Source§impl Clone for CheckClient
impl Clone for CheckClient
Source§fn clone(&self) -> CheckClient
fn clone(&self) -> CheckClient
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 moreAuto Trait Implementations§
impl !Freeze for CheckClient
impl !RefUnwindSafe for CheckClient
impl Send for CheckClient
impl Sync for CheckClient
impl Unpin for CheckClient
impl !UnwindSafe for CheckClient
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
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