pub enum ZoeChallengeRejection {
GenericRejection(Option<String>),
ChallengeFailed,
ChallengeExpired,
ChallengeIncomplete,
Blocked,
Unknown {
discriminant: u32,
data: Vec<u8>,
},
}Variants§
GenericRejection(Option<String>)
The challenge has been rejected. The connection will be closed. A message might be provided to explain why and what to do before trying again.
ChallengeFailed
The client failed to respond to the challenge with the valied answer.
ChallengeExpired
The client failed to respond to the challenge on time
ChallengeIncomplete
The client failed to respond to the challenge with a valid complete answer.
Blocked
The client has been blocked by the server. Any fruther requests from this client will be rejected.
Unknown
Unknown rejection type for forward compatibility
Trait Implementations§
Source§impl Clone for ZoeChallengeRejection
impl Clone for ZoeChallengeRejection
Source§fn clone(&self) -> ZoeChallengeRejection
fn clone(&self) -> ZoeChallengeRejection
Returns a duplicate of the value. Read more
1.0.0 · 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 ZoeChallengeRejection
impl Debug for ZoeChallengeRejection
Source§impl<'de> Deserialize<'de> for ZoeChallengeRejection
impl<'de> Deserialize<'de> for ZoeChallengeRejection
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ZoeChallengeRejection
impl RefUnwindSafe for ZoeChallengeRejection
impl Send for ZoeChallengeRejection
impl Sync for ZoeChallengeRejection
impl Unpin for ZoeChallengeRejection
impl UnwindSafe for ZoeChallengeRejection
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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