pub struct ServiceErrorBuilder { /* private fields */ }Expand description
Builder for DataflowError::Service. Mirrors ErrorInfoBuilder.
Implementations§
Source§impl ServiceErrorBuilder
impl ServiceErrorBuilder
Sourcepub fn detail(self, detail: impl Into<String>) -> Self
pub fn detail(self, detail: impl Into<String>) -> Self
Attach operator-only detail — logged and kept on the trace, not intended for an untrusted caller.
Sourcepub fn retryable(self, retryable: bool) -> Self
pub fn retryable(self, retryable: bool) -> Self
Declare retryability. Defaults to false.
Carriage for consumers: no engine code path acts on retryable().
pub fn build(self) -> DataflowError
Auto Trait Implementations§
impl Freeze for ServiceErrorBuilder
impl RefUnwindSafe for ServiceErrorBuilder
impl Send for ServiceErrorBuilder
impl Sync for ServiceErrorBuilder
impl Unpin for ServiceErrorBuilder
impl UnsafeUnpin for ServiceErrorBuilder
impl UnwindSafe for ServiceErrorBuilder
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