pub struct RecoveryOptions {
pub max_attempts: u32,
pub validate: ValidateOptions,
}Expand description
How the recovery loop should behave.
Fields§
§max_attempts: u32Total attempts before giving up. Defaults to MAX_A2UI_ATTEMPTS.
validate: ValidateOptionsThe contract each attempt is held to.
Implementations§
Source§impl RecoveryOptions
impl RecoveryOptions
Sourcepub fn for_update() -> Self
pub fn for_update() -> Self
Options for editing a surface that already exists.
Trait Implementations§
Source§impl Clone for RecoveryOptions
impl Clone for RecoveryOptions
Source§fn clone(&self) -> RecoveryOptions
fn clone(&self) -> RecoveryOptions
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 moreSource§impl Debug for RecoveryOptions
impl Debug for RecoveryOptions
Source§impl Default for RecoveryOptions
impl Default for RecoveryOptions
impl Eq for RecoveryOptions
Source§impl PartialEq for RecoveryOptions
impl PartialEq for RecoveryOptions
Source§fn eq(&self, other: &RecoveryOptions) -> bool
fn eq(&self, other: &RecoveryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecoveryOptions
Auto Trait Implementations§
impl Freeze for RecoveryOptions
impl RefUnwindSafe for RecoveryOptions
impl Send for RecoveryOptions
impl Sync for RecoveryOptions
impl Unpin for RecoveryOptions
impl UnsafeUnpin for RecoveryOptions
impl UnwindSafe for RecoveryOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.