pub enum Requested {
New(PendingRequest),
AlreadyPending,
}Expand description
What became of asking for access.
Variants§
New(PendingRequest)
A fresh request now sits in front of the administrator.
AlreadyPending
The server already holds an unanswered request under this
clientId. Not a failure of this call – the device’s place in the
queue was never lost, only this particular attempt to make a second
one. There is no PendingRequest to poll here: the server’s answer
carries no usable id for it (see the module doc), so this is a state
to display, not a request to check on.
Trait Implementations§
impl Eq for Requested
impl StructuralPartialEq for Requested
Auto Trait Implementations§
impl Freeze for Requested
impl RefUnwindSafe for Requested
impl Send for Requested
impl Sync for Requested
impl Unpin for Requested
impl UnsafeUnpin for Requested
impl UnwindSafe for Requested
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