Struct task_hookrs::error::TaskError
[−]
[src]
pub struct TaskError { /* fields omitted */ }Task error type
Methods
impl TaskError[src]
pub fn new(errtype: TaskErrorKind, cause: Option<Box<Error>>) -> TaskError[src]
Build a new TaskError from an TaskErrorKind, optionally with cause
pub fn err_type(&self) -> TaskErrorKind[src]
Get the error type of this TaskError
Trait Implementations
impl Debug for TaskError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for TaskError[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), FmtError>[src]
Formats the value using the given formatter. Read more