pub struct AuthNotice(/* private fields */);Expand description
Wait handle returned by tracked re-authentication APIs.
Implementations§
Source§impl AuthNotice
impl AuthNotice
Sourcepub fn wait(self) -> Result<AuthOutcome, AuthNoticeError>
pub fn wait(self) -> Result<AuthOutcome, AuthNoticeError>
Sourcepub async fn wait_async(self) -> Result<AuthOutcome, AuthNoticeError>
pub async fn wait_async(self) -> Result<AuthOutcome, AuthNoticeError>
Wait for the authentication result asynchronously.
§Errors
Returns an error if the event loop drops the notice sender or if the authentication exchange fails before a result is available.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthNotice
impl !RefUnwindSafe for AuthNotice
impl Send for AuthNotice
impl Sync for AuthNotice
impl Unpin for AuthNotice
impl UnsafeUnpin for AuthNotice
impl !UnwindSafe for AuthNotice
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