#[non_exhaustive]pub enum CompositeFieldSetSerdeError {
NoFields,
InvalidFields,
}
Expand description
๐ง [Experimental] An error when resolving a CompositeFieldSet
from a CompositeFieldSetSerde
.
๐ง This code is experimental; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. Use with caution.
#5825
Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoFields
The deserialized field set contains no fields.
InvalidFields
The fields in the deserialized field set are invalid together.
Trait Implementationsยง
sourceยงimpl Debug for CompositeFieldSetSerdeError
impl Debug for CompositeFieldSetSerdeError
Auto Trait Implementationsยง
impl Freeze for CompositeFieldSetSerdeError
impl RefUnwindSafe for CompositeFieldSetSerdeError
impl Send for CompositeFieldSetSerdeError
impl Sync for CompositeFieldSetSerdeError
impl Unpin for CompositeFieldSetSerdeError
impl UnwindSafe for CompositeFieldSetSerdeError
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> 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 more