pub struct Error(pub Box<ErrorInner>);
Tuple Fields§
§0: Box<ErrorInner>
Implementations§
source§impl Error
impl Error
pub fn build() -> ErrorBuilder
pub fn condition(&self) -> &ErrorCondition
pub fn condition_mut(&mut self) -> &mut ErrorCondition
pub fn description(&self) -> Option<&ByteString>
pub fn description_mut(&mut self) -> Option<&mut ByteString>
pub fn info(&self) -> Option<&VecSymbolMap>
pub fn info_mut(&mut self) -> Option<&mut VecSymbolMap>
pub fn into_inner(self) -> Box<ErrorInner>
Trait Implementations§
source§impl PartialEq for Error
impl PartialEq for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more