pub struct ErrorBuilder(pub Box<ErrorInner>);
Tuple Fields§
§0: Box<ErrorInner>
Implementations§
Source§impl ErrorBuilder
impl ErrorBuilder
pub fn condition(self, val: ErrorCondition) -> Self
pub fn description(self, val: ByteString) -> Self
pub fn info(self, val: FieldsVec) -> Self
pub fn finish(self) -> Error
Trait Implementations§
Source§impl Clone for ErrorBuilder
impl Clone for ErrorBuilder
Source§fn clone(&self) -> ErrorBuilder
fn clone(&self) -> ErrorBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrorBuilder
impl Debug for ErrorBuilder
Source§impl PartialEq for ErrorBuilder
impl PartialEq for ErrorBuilder
impl Eq for ErrorBuilder
impl StructuralPartialEq for ErrorBuilder
Auto Trait Implementations§
impl Freeze for ErrorBuilder
impl !RefUnwindSafe for ErrorBuilder
impl Send for ErrorBuilder
impl Sync for ErrorBuilder
impl Unpin for ErrorBuilder
impl !UnwindSafe for ErrorBuilder
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