pub struct ShieldDyn(/* private fields */);Implementations§
Source§impl ShieldDyn
impl ShieldDyn
pub fn new(shield: Shield<impl User + 'static>) -> Self
pub async fn subproviders( &self, ) -> Result<Vec<Box<dyn Subprovider>>, ShieldError>
pub async fn subprovider_visualisations( &self, ) -> Result<Vec<SubproviderVisualisation>, ShieldError>
pub async fn sign_in( &self, request: SignInRequest, session: Session, ) -> Result<Response, ShieldError>
pub async fn sign_in_callback( &self, request: SignInCallbackRequest, session: Session, ) -> Result<Response, ShieldError>
pub async fn sign_out(&self, session: Session) -> Result<Response, ShieldError>
Auto Trait Implementations§
impl Freeze for ShieldDyn
impl !RefUnwindSafe for ShieldDyn
impl Send for ShieldDyn
impl Sync for ShieldDyn
impl Unpin for ShieldDyn
impl !UnwindSafe for ShieldDyn
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