Struct dgl::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
dwindow
error type.
Methods
impl Error
[src]
fn new(kind: ErrorKind) -> Error
fn with_cause<E>(self, cause: E) -> Error where
E: Error + Send + Sync + 'static,
E: Error + Send + Sync + 'static,
fn with_detail<T>(self, detail: T) -> Error where
T: Display,
T: Display,
fn with_str(self, detail: &'static str) -> Error
Trait Implementations
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn cause(&self) -> Option<&Error>
fn description(&self) -> &str
impl From<TryFromIntError> for Error
[src]
fn from(err: TryFromIntError) -> Error
Performs the conversion.
impl From<NulError> for Error
[src]
impl<T> From<SendError<T>> for Error
[src]
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more