Enum light_pencil::PencilError
[−]
[src]
pub enum PencilError { PenHTTPError(HTTPError), PenUserError(UserError), }
Variants
PenHTTPError(HTTPError)
PenUserError(UserError)
Trait Implementations
impl Clone for PencilError
[src]
fn clone(&self) -> PencilError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PencilError
[src]
impl From<HTTPError> for PencilError
[src]
fn from(err: HTTPError) -> PencilError
[src]
Performs the conversion.
impl From<UserError> for PencilError
[src]
fn from(err: UserError) -> PencilError
[src]
Performs the conversion.
impl Display for PencilError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more