Struct amethyst::ecs::error::BoxedErr [−]
A boxed error implementing Debug, Display and Error.
Methods
impl BoxedErr
impl BoxedErrpub fn new<T>(err: T) -> BoxedErr where
T: Error + Send + Sync + 'static,
pub fn new<T>(err: T) -> BoxedErr where
T: Error + Send + Sync + 'static, Creates a new boxed error.
Trait Implementations
impl AsRef<Error + 'static> for BoxedErr
impl AsRef<Error + 'static> for BoxedErrimpl Error for BoxedErr
impl Error for BoxedErrfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for BoxedErr
impl Display for BoxedErrfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Debug for BoxedErr
impl Debug for BoxedErr