#[repr(u16)]
pub enum ResultCode {
Show 35 variants
    Zero,
    Ok,
    Created,
    NoContent,
    BadRequest,
    Forbidden,
    NotFound,
    UnprocessableEntity,
    Locked,
    TooManyRequests,
    TooManyRequestsChangePassword,
    ChangePasswordForbidden,
    SecretExpired,
    EmptyPassword,
    NewPasswordIsEqualToOld,
    InvalidPassword,
    InvalidSecret,
    PasswordExpired,
    TicketNotFound,
    TicketExpired,
    NotAuthorized,
    AuthenticationFailed,
    NotReady,
    FailOpenTransaction,
    FailCommit,
    FailStore,
    InternalServerError,
    NotImplemented,
    ServiceUnavailable,
    InvalidIdentifier,
    DatabaseModifiedError,
    DiskFull,
    DuplicateKey,
    SizeTooLarge,
    ConnectError,
}Variants
Zero
0
Ok
200
Created
201
NoContent
204
BadRequest
400
Forbidden
403
NotFound
404
UnprocessableEntity
422
Locked
423
TooManyRequests
429
TooManyRequestsChangePassword
430
ChangePasswordForbidden
463
SecretExpired
464
EmptyPassword
465
NewPasswordIsEqualToOld
466
InvalidPassword
467
InvalidSecret
468
PasswordExpired
469
TicketNotFound
470
TicketExpired
471
NotAuthorized
472
AuthenticationFailed
473
NotReady
474
FailOpenTransaction
475
FailCommit
476
FailStore
477
InternalServerError
500
NotImplemented
501
ServiceUnavailable
503
InvalidIdentifier
DatabaseModifiedError
999
DiskFull
1021
DuplicateKey
1022
SizeTooLarge
1118
ConnectError
4000
Implementations
sourceimpl ResultCode
 
impl ResultCode
pub fn from_i64(value: i64) -> ResultCode
Trait Implementations
sourceimpl Clone for ResultCode
 
impl Clone for ResultCode
sourcefn clone(&self) -> ResultCode
 
fn clone(&self) -> ResultCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ResultCode
 
impl Debug for ResultCode
sourceimpl<'de> Deserialize<'de> for ResultCode
 
impl<'de> Deserialize<'de> for ResultCode
sourcefn deserialize<D>(deserializer: D) -> Result<ResultCode, D::Error> where
    D: Deserializer<'de>, 
 
fn deserialize<D>(deserializer: D) -> Result<ResultCode, D::Error> where
    D: Deserializer<'de>, 
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ResultCode> for ResultCode
 
impl PartialEq<ResultCode> for ResultCode
sourceimpl Serialize for ResultCode
 
impl Serialize for ResultCode
impl Copy for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more