Enum tweetust::TwitterError
[−]
[src]
pub enum TwitterError { ErrorResponse(ErrorResponse), Url(ParseError), InvalidRequest, Io(Error), Http(Error), ParseResponse(Option<Error>, TwitterResponse<()>), }
Variants
ErrorResponse(ErrorResponse)
Url(ParseError)
InvalidRequest
Io(Error)
Http(Error)
ParseResponse(Option<Error>, TwitterResponse<()>)
Trait Implementations
impl Debug for TwitterError
[src]
impl Error for TwitterError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for TwitterError
[src]
impl From<ErrorResponse> for TwitterError
[src]
fn from(err: ErrorResponse) -> TwitterError
Performs the conversion.
impl From<Error> for TwitterError
[src]
fn from(err: Error) -> TwitterError
Performs the conversion.
impl From<ParseError> for TwitterError
[src]
fn from(err: ParseError) -> TwitterError
Performs the conversion.
impl From<Error> for TwitterError
[src]
fn from(err: Error) -> TwitterError
Performs the conversion.