Enum epitech_api::error::EpitechClientError [−][src]
pub enum EpitechClientError {
RetryLimit,
InvalidStatusCode(u16),
CookieNotFound,
UnreachableRemote,
InternalError,
ParserError(String),
RequestError(String),
}Variants
RetryLimitInvalidStatusCode(u16)CookieNotFoundUnreachableRemoteInternalErrorParserError(String)RequestError(String)
Trait Implementations
impl Debug for EpitechClientError[src]
impl Debug for EpitechClientErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for EpitechClientError[src]
impl Clone for EpitechClientErrorfn clone(&self) -> EpitechClientError[src]
fn clone(&self) -> EpitechClientErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Eq for EpitechClientError[src]
impl Eq for EpitechClientErrorimpl Ord for EpitechClientError[src]
impl Ord for EpitechClientErrorfn cmp(&self, other: &EpitechClientError) -> Ordering[src]
fn cmp(&self, other: &EpitechClientError) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialEq for EpitechClientError[src]
impl PartialEq for EpitechClientErrorfn eq(&self, other: &EpitechClientError) -> bool[src]
fn eq(&self, other: &EpitechClientError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &EpitechClientError) -> bool[src]
fn ne(&self, other: &EpitechClientError) -> boolThis method tests for !=.
impl PartialOrd for EpitechClientError[src]
impl PartialOrd for EpitechClientErrorfn partial_cmp(&self, other: &EpitechClientError) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &EpitechClientError) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &EpitechClientError) -> bool[src]
fn lt(&self, other: &EpitechClientError) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &EpitechClientError) -> bool[src]
fn le(&self, other: &EpitechClientError) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &EpitechClientError) -> bool[src]
fn gt(&self, other: &EpitechClientError) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &EpitechClientError) -> bool[src]
fn ge(&self, other: &EpitechClientError) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl From<Error> for EpitechClientError[src]
impl From<Error> for EpitechClientErrorfn from(v: Error) -> EpitechClientError[src]
fn from(v: Error) -> EpitechClientErrorPerforms the conversion.
impl From<Error> for EpitechClientError[src]
impl From<Error> for EpitechClientErrorfn from(v: Error) -> EpitechClientError[src]
fn from(v: Error) -> EpitechClientErrorPerforms the conversion.
impl Error for EpitechClientError[src]
impl Error for EpitechClientErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Display for EpitechClientError[src]
impl Display for EpitechClientErrorfn fmt(&self, f: &mut Formatter) -> FmtResult[src]
fn fmt(&self, f: &mut Formatter) -> FmtResultFormats the value using the given formatter. Read more
impl Send for EpitechClientError[src]
impl Send for EpitechClientErrorimpl Sync for EpitechClientError[src]
impl Sync for EpitechClientError