pub struct RuntimeErrorBuilder { /* private fields */ }Implementations§
Source§impl RuntimeErrorBuilder
impl RuntimeErrorBuilder
pub fn with_identifier(self, identifier: impl Into<String>) -> Self
pub fn with_builtin(self, builtin: impl Into<String>) -> Self
pub fn with_task_id(self, task_id: impl Into<String>) -> Self
pub fn with_call_stack(self, call_stack: Vec<String>) -> Self
pub fn with_call_frames(self, call_frames: Vec<CallFrame>) -> Self
pub fn with_call_frames_elided(self, count: usize) -> Self
pub fn with_phase(self, phase: impl Into<String>) -> Self
pub fn with_span(self, span: SourceSpan) -> Self
pub fn with_source(self, source: impl StdError + Send + Sync + 'static) -> Self
pub fn build(self) -> RuntimeError
Auto Trait Implementations§
impl Freeze for RuntimeErrorBuilder
impl !RefUnwindSafe for RuntimeErrorBuilder
impl Send for RuntimeErrorBuilder
impl Sync for RuntimeErrorBuilder
impl Unpin for RuntimeErrorBuilder
impl UnsafeUnpin for RuntimeErrorBuilder
impl !UnwindSafe for RuntimeErrorBuilder
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