Struct rdf::error::Error [−][src]
pub struct Error { /* fields omitted */ }
An error related to the rdf-rs module.
Methods
impl Error
[src]
impl Error
pub fn new<E>(error_type: ErrorType, error: E) -> Error where
E: Into<Box<StdError>>,
[src]
pub fn new<E>(error_type: ErrorType, error: E) -> Error where
E: Into<Box<StdError>>,
Constructor of Error
.
pub fn error_type(&self) -> &ErrorType
[src]
pub fn error_type(&self) -> &ErrorType
Returns the type of the error.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
impl StdError for Error