Struct brix_errors::BrixError
source · [−]pub struct BrixError {
pub kind: Option<BrixErrorKind>,
pub message: String,
}Expand description
The Brix error, that supports an optional BrixErrorKind kind, and a message.
Fields
kind: Option<BrixErrorKind>message: StringImplementations
Trait Implementations
sourceimpl From<RenderError> for BrixError
impl From<RenderError> for BrixError
sourcefn from(err: RenderError) -> BrixError
fn from(err: RenderError) -> BrixError
Converts to this type from the input type.
sourceimpl From<ValidationErrors> for BrixError
impl From<ValidationErrors> for BrixError
sourcefn from(err: ValidationErrors) -> BrixError
fn from(err: ValidationErrors) -> BrixError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for BrixError
impl Send for BrixError
impl Sync for BrixError
impl Unpin for BrixError
impl UnwindSafe for BrixError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more