#[non_exhaustive]
pub enum ServerRejectReason {
Show 21 variants
Fallback,
KeyNotSup,
Filepath,
HostNotFound,
BadRequest,
Unauthorized,
Overload,
Forbidden,
Notfound,
BadMode,
Unacceptable,
Conflict,
NotSupMedia,
Locked,
FailedDepend,
InternalServerError,
Unimplemented,
Gateway,
Down,
Version,
NoRoom,
}
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.
Fallback
KeyNotSup
Filepath
HostNotFound
BadRequest
Unauthorized
Overload
Forbidden
Notfound
BadMode
Unacceptable
Conflict
NotSupMedia
Locked
FailedDepend
InternalServerError
Unimplemented
Gateway
Down
Version
NoRoom
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ServerRejectReason
impl Send for ServerRejectReason
impl Sync for ServerRejectReason
impl Unpin for ServerRejectReason
impl UnwindSafe for ServerRejectReason
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.