pub struct PendingLogout { /* private fields */ }Expand description
One reserved terminal operation. Reservation stops account admission without sending anything. An embedding daemon can commit local logout inhibition before consuming this token to submit its optional remote logout. Dropping the token leaves the account stopped and sends no request.
Implementations§
Source§impl PendingLogout
impl PendingLogout
pub async fn submit(self) -> Result<LogoutReply>
Sourcepub async fn submit_guarded<F>(self, before_submit: F) -> Result<LogoutReply>
pub async fn submit_guarded<F>(self, before_submit: F) -> Result<LogoutReply>
Recheck the embedding application’s committed logout operation immediately before business handoff. This token is consumed even on failure; neither a cancelled waiter nor an uncertain response permits automatic resubmission.
Auto Trait Implementations§
impl Forget for PendingLogout
impl Freeze for PendingLogout
impl RefUnwindSafe for PendingLogout
impl Send for PendingLogout
impl Sync for PendingLogout
impl Unpin for PendingLogout
impl UnsafeUnpin for PendingLogout
impl UnwindSafe for PendingLogout
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