pub struct StructErrorBuilder<T: DomainReason> { /* private fields */ }Implementations§
Source§impl<T: DomainReason> StructErrorBuilder<T>
impl<T: DomainReason> StructErrorBuilder<T>
pub fn detail(self, detail: impl Into<String>) -> Self
pub fn position(self, position: impl Into<String>) -> Self
pub fn context(self, ctx: OperationContext) -> Self
pub fn context_ref(self, ctx: &OperationContext) -> Self
pub fn finish(self) -> StructError<T>
Auto Trait Implementations§
impl<T> Freeze for StructErrorBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for StructErrorBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for StructErrorBuilder<T>where
T: Send,
impl<T> Sync for StructErrorBuilder<T>where
T: Sync,
impl<T> Unpin for StructErrorBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for StructErrorBuilder<T>where
T: UnwindSafe,
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