pub struct SerializationFallback;Expand description
Fallback strategy for serialization
Trait Implementations§
Source§impl FallbackStrategy for SerializationFallback
impl FallbackStrategy for SerializationFallback
Source§fn is_preferred_available(&self) -> bool
fn is_preferred_available(&self) -> bool
Check if the preferred implementation is available
Source§fn has_fallback(&self) -> bool
fn has_fallback(&self) -> bool
Check if fallback implementation is available
Source§fn fallback_limitations(&self) -> Vec<String>
fn fallback_limitations(&self) -> Vec<String>
Get description of what functionality will be lost with fallback
Auto Trait Implementations§
impl Freeze for SerializationFallback
impl RefUnwindSafe for SerializationFallback
impl Send for SerializationFallback
impl Sync for SerializationFallback
impl Unpin for SerializationFallback
impl UnwindSafe for SerializationFallback
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