pub struct NoCustomError;๐Deprecated since 0.8.0: Now server_fn can return any error type other than ServerFnError, so the WrappedServerError variant will be removed in 0.9.0
Expand description
An empty value indicating that there is no custom error type associated with this server function.
Trait Implementationsยง
Sourceยงimpl Archive for NoCustomError
impl Archive for NoCustomError
Sourceยงconst COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize. Read moreSourceยงtype Archived = ArchivedNoCustomError
type Archived = ArchivedNoCustomError
The archived representation of this type. Read more
Sourceยงtype Resolver = NoCustomErrorResolver
type Resolver = NoCustomErrorResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
Sourceยงimpl Clone for NoCustomError
impl Clone for NoCustomError
Sourceยงfn clone(&self) -> NoCustomError
fn clone(&self) -> NoCustomError
Returns a copy 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 NoCustomError
impl Debug for NoCustomError
Sourceยงimpl<'de> Deserialize<'de> for NoCustomError
impl<'de> Deserialize<'de> for NoCustomError
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<__D: Fallible + ?Sized> Deserialize<NoCustomError, __D> for Archived<NoCustomError>
impl<__D: Fallible + ?Sized> Deserialize<NoCustomError, __D> for Archived<NoCustomError>
Sourceยงfn deserialize(
&self,
deserializer: &mut __D,
) -> Result<NoCustomError, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<NoCustomError, <__D as Fallible>::Error>
Deserializes using the given deserializer
Sourceยงimpl Display for NoCustomError
impl Display for NoCustomError
Sourceยงimpl FromStr for NoCustomError
impl FromStr for NoCustomError
Sourceยงimpl Hash for NoCustomError
impl Hash for NoCustomError
Sourceยงimpl Ord for NoCustomError
impl Ord for NoCustomError
Sourceยงfn cmp(&self, other: &NoCustomError) -> Ordering
fn cmp(&self, other: &NoCustomError) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for NoCustomError
impl PartialEq for NoCustomError
Sourceยงimpl PartialOrd for NoCustomError
impl PartialOrd for NoCustomError
Sourceยงimpl Serialize for NoCustomError
impl Serialize for NoCustomError
Sourceยงimpl ViaError<NoCustomError> for &&&WrapError<()>
impl ViaError<NoCustomError> for &&&WrapError<()>
Sourceยงfn to_server_error(&self) -> ServerFnError
fn to_server_error(&self) -> ServerFnError
๐Deprecated since 0.8.0: Now server_fn can return any error type other than ServerFnError, so users should place their custom error type instead of ServerFnError
Converts something into an error.
impl Copy for NoCustomError
impl Eq for NoCustomError
impl StructuralPartialEq for NoCustomError
Auto Trait Implementationsยง
impl Freeze for NoCustomError
impl RefUnwindSafe for NoCustomError
impl Send for NoCustomError
impl Sync for NoCustomError
impl Unpin for NoCustomError
impl UnwindSafe for NoCustomError
Blanket Implementationsยง
Sourceยงimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Sourceยงtype ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Sourceยงfn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Sourceยงimpl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Sourceยงtype Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be
unsized. Read moreSourceยงfn archived_metadata(
&self,
) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
fn archived_metadata( &self, ) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
Creates the archived version of the metadata for this value.
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยง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> LayoutRaw for T
impl<T> LayoutRaw for T
Sourceยงfn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Sourceยงimpl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Sourceยงunsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Sourceยงfn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.