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 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.
Sourceยงimpl Clone for NoCustomError
impl Clone for NoCustomError
Sourceยงfn clone(&self) -> NoCustomError
fn clone(&self) -> NoCustomError
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 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<NoCustomError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NoCustomError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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ยงfn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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> 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> FromFormData for Twhere
T: DeserializeOwned,
impl<T> FromFormData for Twhere
T: DeserializeOwned,
Sourceยงfn from_event(ev: &Event) -> Result<T, FromFormDataError>
fn from_event(ev: &Event) -> Result<T, FromFormDataError>
Tries to deserialize the data, given only the
submit event.Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงimpl<T> SerializableKey for T
impl<T> SerializableKey for T
Sourceยงimpl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Sourceยงfn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Sourceยงfn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.