[−][src]Enum parsec_interface::requests::ResponseStatus
C-like enum mapping response status options to their code.
See the status code page for a broader description of these codes.
Variants
Successful operation
Requested provider ID does not match that of the backend
Requested content type is not supported by the backend
Requested accept type is not supported by the backend
Requested version is not supported by the backend
No provider registered for the requested provider ID
No provider defined for requested provider ID
Failed to deserialize the body of the message
Failed to serialize the body of the message
Requested operation is not defined
Response size exceeds allowed limits
Authentication failed
Authenticator not supported
Authenticator not supported
Internal error in the Key Info Manager
Generic input/output error
Invalid value for this data type
Constant fields in header are invalid
The UUID vector needs to only contain 16 bytes
Request did not provide a required authentication
Request length specified in the header is above defined limit
The operation requires admin privilege
An error occurred that does not correspond to any defined failure cause
The requested operation or a parameter is not supported by this implementation
The requested action is denied by a policy
An output buffer is too small
Asking for an item that already exists
Asking for an item that doesn't exist
The requested action cannot be performed in the current state
The parameters passed to the function are invalid
There is not enough runtime memory
There is not enough persistent storage
There was a communication failure inside the implementation
There was a storage failure that may have led to data loss
Stored data has been corrupted
Data read from storage is not valid for the implementation
A hardware failure was detected
A tampering attempt was detected
There is not enough entropy to generate random data needed for the requested action
The signature, MAC or hash is incorrect
The decrypted padding is incorrect
Insufficient data when attempting to read from a resource
The key handle is not valid
Trait Implementations
impl Clone for ResponseStatus
[src]
pub fn clone(&self) -> ResponseStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ResponseStatus
[src]
impl Debug for ResponseStatus
[src]
impl Display for ResponseStatus
[src]
impl Error for ResponseStatus
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Box<ErrorKind, Global>> for ResponseStatus
[src]
impl From<Error> for ResponseStatus
[src]
Conversion from a std::io::Error to a ResponseStatus
It allows to easily return a ResponseStatus in case of error when using functions from the standard library.
impl From<Error> for ResponseStatus
[src]
impl From<Error> for ResponseStatus
[src]
pub fn from(err: Error) -> ResponseStatus
[src]
impl From<Infallible> for ResponseStatus
[src]
pub fn from(_err: Infallible) -> Self
[src]
impl From<NulError> for ResponseStatus
[src]
impl From<TryFromIntError> for ResponseStatus
[src]
pub fn from(err: TryFromIntError) -> Self
[src]
impl From<TryFromSliceError> for ResponseStatus
[src]
pub fn from(err: TryFromSliceError) -> Self
[src]
impl FromPrimitive for ResponseStatus
[src]
pub fn from_i64(n: i64) -> Option<Self>
[src]
pub fn from_u64(n: u64) -> Option<Self>
[src]
pub fn from_isize(n: isize) -> Option<Self>
[src]
pub fn from_i8(n: i8) -> Option<Self>
[src]
pub fn from_i16(n: i16) -> Option<Self>
[src]
pub fn from_i32(n: i32) -> Option<Self>
[src]
pub fn from_i128(n: i128) -> Option<Self>
[src]
pub fn from_usize(n: usize) -> Option<Self>
[src]
pub fn from_u8(n: u8) -> Option<Self>
[src]
pub fn from_u16(n: u16) -> Option<Self>
[src]
pub fn from_u32(n: u32) -> Option<Self>
[src]
pub fn from_u128(n: u128) -> Option<Self>
[src]
pub fn from_f32(n: f32) -> Option<Self>
[src]
pub fn from_f64(n: f64) -> Option<Self>
[src]
impl PartialEq<ResponseStatus> for ResponseStatus
[src]
pub fn eq(&self, other: &ResponseStatus) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ResponseStatus
[src]
impl TryFrom<u16> for ResponseStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResponseStatus
[src]
impl Send for ResponseStatus
[src]
impl Sync for ResponseStatus
[src]
impl Unpin for ResponseStatus
[src]
impl UnwindSafe for ResponseStatus
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,