pub enum DevicePollOutcome {
Pending,
SlowDown,
Granted(TokenResponse),
}Expand description
One device-token poll outcome (RFC 8628 §3.5).
Variants§
Pending
Not yet approved — keep polling at the current interval.
SlowDown
Polled too fast — the client must lengthen the interval by 5s.
Granted(TokenResponse)
User approved — tokens issued.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DevicePollOutcome
impl RefUnwindSafe for DevicePollOutcome
impl Send for DevicePollOutcome
impl Sync for DevicePollOutcome
impl Unpin for DevicePollOutcome
impl UnsafeUnpin for DevicePollOutcome
impl UnwindSafe for DevicePollOutcome
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