pub struct GrpcGuardService { /* private fields */ }Expand description
gRPC wrapper over the guard engine.
Implementations§
Trait Implementations§
Source§impl Clone for GrpcGuardService
impl Clone for GrpcGuardService
Source§fn clone(&self) -> GrpcGuardService
fn clone(&self) -> GrpcGuardService
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 GuardService for GrpcGuardService
impl GuardService for GrpcGuardService
fn check_access<'life0, 'async_trait>(
&'life0 self,
request: Request<CheckAccessRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CheckAccessResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_session<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateSessionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateSessionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn validate_session<'life0, 'async_trait>(
&'life0 self,
request: Request<ValidateSessionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ValidateSessionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn revoke_session<'life0, 'async_trait>(
&'life0 self,
request: Request<RevokeSessionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RevokeSessionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<AddPolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AddPolicyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_policies<'life0, 'async_trait>(
&'life0 self,
_request: Request<ListPoliciesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListPoliciesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn remove_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<RemovePolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RemovePolicyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_audit_log<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAuditLogRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAuditLogResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for GrpcGuardService
impl !RefUnwindSafe for GrpcGuardService
impl Send for GrpcGuardService
impl Sync for GrpcGuardService
impl Unpin for GrpcGuardService
impl UnsafeUnpin for GrpcGuardService
impl !UnwindSafe for GrpcGuardService
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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