pub struct AuthEndpoint<P: AuthProvider> { /* private fields */ }Implementations§
Source§impl<P: AuthProvider> AuthEndpoint<P>
impl<P: AuthProvider> AuthEndpoint<P>
Trait Implementations§
Source§impl<P: Debug + AuthProvider> Debug for AuthEndpoint<P>
impl<P: Debug + AuthProvider> Debug for AuthEndpoint<P>
Source§impl<P: AuthProvider> NativeRequestEndpoint for AuthEndpoint<P>
impl<P: AuthProvider> NativeRequestEndpoint for AuthEndpoint<P>
Source§fn capability_id(&self) -> &'static str
fn capability_id(&self) -> &'static str
Stable Capability series identity.
Source§fn descriptor_version(&self) -> &'static str
fn descriptor_version(&self) -> &'static str
Exact Descriptor version implemented by this endpoint.
Source§fn operations(&self) -> &'static [&'static str]
fn operations(&self) -> &'static [&'static str]
Exact stable Operation names implemented by this endpoint.
Source§fn invoke(
&self,
operation: &str,
request: Box<dyn Any>,
context: InvocationContext,
) -> LocalBoxFuture<'static, Result<Result<Box<dyn Any>, Box<dyn Any>>, RuntimeFailure>>
fn invoke( &self, operation: &str, request: Box<dyn Any>, context: InvocationContext, ) -> LocalBoxFuture<'static, Result<Result<Box<dyn Any>, Box<dyn Any>>, RuntimeFailure>>
Dispatches one operation without serializing its typed Rust payload.
Auto Trait Implementations§
impl<P> !RefUnwindSafe for AuthEndpoint<P>
impl<P> !Send for AuthEndpoint<P>
impl<P> !Sync for AuthEndpoint<P>
impl<P> !UnwindSafe for AuthEndpoint<P>
impl<P> Freeze for AuthEndpoint<P>
impl<P> Unpin for AuthEndpoint<P>
impl<P> UnsafeUnpin for AuthEndpoint<P>where
Rc<P>: UnsafeUnpin,
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