pub struct ServerFunctionClientFailed {
pub route: String,
pub duration_ms: f64,
pub error_kind: &'static str,
}Expand description
Emitted after a generated #[server] client request fails before
returning an application value.
error_kind is a stable coarse reason such as "serialize",
"fetch", "http_status", or "unauthorized".
Fields§
§route: String§duration_ms: f64§error_kind: &'static strTrait Implementations§
Source§impl Clone for ServerFunctionClientFailed
impl Clone for ServerFunctionClientFailed
Source§fn clone(&self) -> ServerFunctionClientFailed
fn clone(&self) -> ServerFunctionClientFailed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServerFunctionClientFailed
impl RefUnwindSafe for ServerFunctionClientFailed
impl Send for ServerFunctionClientFailed
impl Sync for ServerFunctionClientFailed
impl Unpin for ServerFunctionClientFailed
impl UnsafeUnpin for ServerFunctionClientFailed
impl UnwindSafe for ServerFunctionClientFailed
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