#[non_exhaustive]pub enum SecretListProgress {
Preparing,
WaitingForDelivery,
WaitingForResponse,
Completing,
Completed,
}Expand description
A stage reported while a secret-list request is running.
A successful operation reports Preparing, WaitingForDelivery,
optionally one or more WaitingForResponse updates, Completing, and
Completed, in that order. An operation that fails stops without reporting
Completed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Preparing
Agentknock is reading local state and preparing the protected request.
WaitingForDelivery
The request is waiting to be delivered to the device.
WaitingForResponse
The device has received the request but hasn’t returned a response.
Completing
Agentknock is validating the response and handing off the completion.
Completed
The operation has finished successfully.
Trait Implementations§
Source§impl Clone for SecretListProgress
impl Clone for SecretListProgress
Source§fn clone(&self) -> SecretListProgress
fn clone(&self) -> SecretListProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SecretListProgress
Source§impl Debug for SecretListProgress
impl Debug for SecretListProgress
impl Eq for SecretListProgress
Source§impl PartialEq for SecretListProgress
impl PartialEq for SecretListProgress
impl StructuralPartialEq for SecretListProgress
Auto Trait Implementations§
impl Freeze for SecretListProgress
impl RefUnwindSafe for SecretListProgress
impl Send for SecretListProgress
impl Sync for SecretListProgress
impl Unpin for SecretListProgress
impl UnsafeUnpin for SecretListProgress
impl UnwindSafe for SecretListProgress
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