pub struct UiServerErrorWrapper(pub UiServerError);Expand description
An error in response to a UI command
Tuple Fields§
§0: UiServerErrorTrait Implementations§
Source§impl Clone for UiServerErrorWrapper
impl Clone for UiServerErrorWrapper
Source§fn clone(&self) -> UiServerErrorWrapper
fn clone(&self) -> UiServerErrorWrapper
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiServerErrorWrapper
impl Debug for UiServerErrorWrapper
Source§impl<'de> Deserialize<'de> for UiServerErrorWrapper
impl<'de> Deserialize<'de> for UiServerErrorWrapper
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UiServerErrorWrapper
impl Display for UiServerErrorWrapper
Source§impl Error for UiServerErrorWrapper
impl Error for UiServerErrorWrapper
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ConnectionError> for UiServerErrorWrapper
impl From<ConnectionError> for UiServerErrorWrapper
Source§fn from(error: ConnectionError) -> UiServerErrorWrapper
fn from(error: ConnectionError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<DbError> for UiServerErrorWrapper
impl From<DbError> for UiServerErrorWrapper
Source§fn from(error: DbError) -> UiServerErrorWrapper
fn from(error: DbError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<EntryParseError> for UiServerErrorWrapper
impl From<EntryParseError> for UiServerErrorWrapper
Source§fn from(error: EntryParseError) -> UiServerErrorWrapper
fn from(error: EntryParseError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<Error> for UiServerErrorWrapper
impl From<Error> for UiServerErrorWrapper
Source§fn from(error: Error) -> UiServerErrorWrapper
fn from(error: Error) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<HolePunchError> for UiServerErrorWrapper
impl From<HolePunchError> for UiServerErrorWrapper
Source§fn from(error: HolePunchError) -> UiServerErrorWrapper
fn from(error: HolePunchError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for UiServerErrorWrapper
impl<T> From<PoisonError<T>> for UiServerErrorWrapper
Source§fn from(_error: PoisonError<T>) -> UiServerErrorWrapper
fn from(_error: PoisonError<T>) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<RecvError> for UiServerErrorWrapper
impl From<RecvError> for UiServerErrorWrapper
Source§fn from(error: RecvError) -> UiServerErrorWrapper
fn from(error: RecvError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<RequestError> for UiServerErrorWrapper
impl From<RequestError> for UiServerErrorWrapper
Source§fn from(error: RequestError) -> UiServerErrorWrapper
fn from(error: RequestError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<ScanDirError> for UiServerErrorWrapper
impl From<ScanDirError> for UiServerErrorWrapper
Source§fn from(error: ScanDirError) -> UiServerErrorWrapper
fn from(error: ScanDirError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl From<UiServerError> for UiServerErrorWrapper
impl From<UiServerError> for UiServerErrorWrapper
Source§fn from(error: UiServerError) -> UiServerErrorWrapper
fn from(error: UiServerError) -> UiServerErrorWrapper
Converts to this type from the input type.
Source§impl IntoResponse for UiServerErrorWrapper
impl IntoResponse for UiServerErrorWrapper
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Source§impl PartialEq for UiServerErrorWrapper
impl PartialEq for UiServerErrorWrapper
Source§impl Serialize for UiServerErrorWrapper
impl Serialize for UiServerErrorWrapper
impl StructuralPartialEq for UiServerErrorWrapper
Auto Trait Implementations§
impl Freeze for UiServerErrorWrapper
impl RefUnwindSafe for UiServerErrorWrapper
impl Send for UiServerErrorWrapper
impl Sync for UiServerErrorWrapper
impl Unpin for UiServerErrorWrapper
impl UnwindSafe for UiServerErrorWrapper
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, S> Handler<IntoResponseHandler, S> for T
impl<T, S> Handler<IntoResponseHandler, S> for T
Source§fn call(
self,
_req: Request<Body>,
_state: S,
) -> <T as Handler<IntoResponseHandler, S>>::Future
fn call( self, _req: Request<Body>, _state: S, ) -> <T as Handler<IntoResponseHandler, S>>::Future
Call the handler with the given request.
Source§fn layer<L>(self, layer: L) -> Layered<L, Self, T, S>where
L: Layer<HandlerService<Self, T, S>> + Clone,
<L as Layer<HandlerService<Self, T, S>>>::Service: Service<Request<Body>>,
fn layer<L>(self, layer: L) -> Layered<L, Self, T, S>where
L: Layer<HandlerService<Self, T, S>> + Clone,
<L as Layer<HandlerService<Self, T, S>>>::Service: Service<Request<Body>>,
Apply a
tower::Layer to the handler. Read moreSource§fn with_state(self, state: S) -> HandlerService<Self, T, S>
fn with_state(self, state: S) -> HandlerService<Self, T, S>
Convert the handler into a
Service by providing the stateSource§impl<H, T> HandlerWithoutStateExt<T> for H
impl<H, T> HandlerWithoutStateExt<T> for H
Source§fn into_service(self) -> HandlerService<H, T, ()>
fn into_service(self) -> HandlerService<H, T, ()>
Convert the handler into a
Service and no state.Source§fn into_make_service(self) -> IntoMakeService<HandlerService<H, T, ()>>
fn into_make_service(self) -> IntoMakeService<HandlerService<H, T, ()>>
Convert the handler into a
MakeService and no state. Read moreSource§fn into_make_service_with_connect_info<C>(
self,
) -> IntoMakeServiceWithConnectInfo<HandlerService<H, T, ()>, C>
fn into_make_service_with_connect_info<C>( self, ) -> IntoMakeServiceWithConnectInfo<HandlerService<H, T, ()>, C>
Convert the handler into a
MakeService which stores information
about the incoming connection and has no state. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.