#[non_exhaustive]pub enum PairRefusal {
WrongCode,
Expired,
Exhausted,
Throttled,
Denied,
Disabled,
}Expand description
Why a pairing was refused, by this side or the other.
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.
WrongCode
The code or secret is wrong, or the key confirmation failed (which is also what a relaying attacker or a different channel binding looks like).
Expired
The invitation or code expired.
Exhausted
The PIN was used up, or none is shown.
Throttled
Too many runs, pending exchanges or wrong entries.
Denied
The operator denied the device-flow joiner.
Disabled
The responder does not offer this mode.
Trait Implementations§
Source§impl Clone for PairRefusal
impl Clone for PairRefusal
impl Copy for PairRefusal
Source§impl Debug for PairRefusal
impl Debug for PairRefusal
Source§impl Display for PairRefusal
impl Display for PairRefusal
impl Eq for PairRefusal
Source§impl Hash for PairRefusal
impl Hash for PairRefusal
Source§impl PartialEq for PairRefusal
impl PartialEq for PairRefusal
impl StructuralPartialEq for PairRefusal
Auto Trait Implementations§
impl Freeze for PairRefusal
impl RefUnwindSafe for PairRefusal
impl Send for PairRefusal
impl Sync for PairRefusal
impl Unpin for PairRefusal
impl UnsafeUnpin for PairRefusal
impl UnwindSafe for PairRefusal
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