pub struct Service { /* private fields */ }Implementations§
Source§impl Service
impl Service
pub fn new(options: ServiceOptions) -> Result<Arc<Self>, ServiceError>
pub fn inspect_document(&self) -> InspectDocument
pub async fn enroll( self: &Arc<Self>, request: &[u8], options: IdempotentCommandOptions, ) -> Result<ServiceResponse, ServiceError>
pub async fn status( &self, options: AuthenticatedCommandOptions, ) -> Result<ServiceResponse, ServiceError>
pub async fn grant( self: &Arc<Self>, request: &[u8], options: IdempotentCommandOptions, ) -> Result<ServiceResponse, ServiceError>
pub async fn revoke( self: &Arc<Self>, request: &[u8], options: IdempotentCommandOptions, ) -> Result<ServiceResponse, ServiceError>
pub async fn authenticate_protected_resource( &self, request: ProtectedResourceRequest, ) -> Result<ProtectedResourceAuthentication, ServiceError>
Auto Trait Implementations§
impl !RefUnwindSafe for Service
impl !UnwindSafe for Service
impl Freeze for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
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