pub enum ZoeChallengeWarning {
ConnectionThrottled(String),
QuotaLimitInReach(String),
OutOfQuota(String),
UserHasLimitedResource(String),
ProtocolVersionDeprecated(String),
PotentialBreach(String),
WeakCrypto(String),
GenericServerWarning(String),
ServerUnderLoad(String),
Unknown {
discriminant: u32,
data: Vec<u8>,
},
}Variants§
ConnectionThrottled(String)
The connection is throttled, a reason to display to the user might be provided
QuotaLimitInReach(String)
The user is close to the quota limit on this server. This should probably be prompted to the user as uploading data might be rejected by the server.
OutOfQuota(String)
The user is out of quota on this server. This should probably be prompted to the user as uploading data might be rejected by the server.
UserHasLimitedResource(String)
The user has reached the limits (other than quota) on this server. This should probably be prompted to the user as uploading data might be rejected by the server.
ProtocolVersionDeprecated(String)
The best ngeotiated protocol version is deprecated. The client should prompt the user about this server soon not supporting this client anymore and thus the client needs to be upgraded.
PotentialBreach(String)
The server has detected a potential breach of the security policy. The client should prompt the user about this and ask for confirmation to continue.
WeakCrypto(String)
The server has detected a weak crypto algorithm being used. The client should prompt the user about this and ask for confirmation to continue.
GenericServerWarning(String)
THe server has a generic warning to show to the user. This should be shown to the user by the client.
ServerUnderLoad(String)
The server is under high load and might be throttling the user connection,
Unknown
Unknown warning type for forward compatibility
Trait Implementations§
Source§impl Clone for ZoeChallengeWarning
impl Clone for ZoeChallengeWarning
Source§fn clone(&self) -> ZoeChallengeWarning
fn clone(&self) -> ZoeChallengeWarning
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more