pub struct StreamingBoundaryError {
pub signal: String,
pub reason: String,
}Expand description
Boxed payload for HandlerError::StreamingBoundary.
Kept behind a Box so the streaming-validation variant contributes only a
pointer-sized payload to HandlerError, keeping the common
Result<(), HandlerError> small on the ordinary render path where these
boundary errors never occur.
Fields§
§signal: StringThe logical structural token (the internal namespace is stripped).
reason: StringActionable validation failure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamingBoundaryError
impl RefUnwindSafe for StreamingBoundaryError
impl Send for StreamingBoundaryError
impl Sync for StreamingBoundaryError
impl Unpin for StreamingBoundaryError
impl UnsafeUnpin for StreamingBoundaryError
impl UnwindSafe for StreamingBoundaryError
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