pub enum CacheStatsPrefer {
RespondAsync,
}Expand description
CacheStatsPrefer
JSON schema
{
"type": "string",
"enum": [
"respond-async"
]
}Variants§
RespondAsync
Trait Implementations§
Source§impl Clone for CacheStatsPrefer
impl Clone for CacheStatsPrefer
Source§fn clone(&self) -> CacheStatsPrefer
fn clone(&self) -> CacheStatsPrefer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CacheStatsPrefer
Source§impl Debug for CacheStatsPrefer
impl Debug for CacheStatsPrefer
Source§impl<'de> Deserialize<'de> for CacheStatsPrefer
impl<'de> Deserialize<'de> for CacheStatsPrefer
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 CacheStatsPrefer
impl Display for CacheStatsPrefer
impl Eq for CacheStatsPrefer
Source§impl From<&CacheStatsPrefer> for CacheStatsPrefer
impl From<&CacheStatsPrefer> for CacheStatsPrefer
Source§fn from(value: &CacheStatsPrefer) -> Self
fn from(value: &CacheStatsPrefer) -> Self
Converts to this type from the input type.
Source§impl FromStr for CacheStatsPrefer
impl FromStr for CacheStatsPrefer
Source§impl Hash for CacheStatsPrefer
impl Hash for CacheStatsPrefer
Source§impl Ord for CacheStatsPrefer
impl Ord for CacheStatsPrefer
Source§fn cmp(&self, other: &CacheStatsPrefer) -> Ordering
fn cmp(&self, other: &CacheStatsPrefer) -> Ordering
1.21.0 (const: unstable) · 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 CacheStatsPrefer
impl PartialEq for CacheStatsPrefer
Source§impl PartialOrd for CacheStatsPrefer
impl PartialOrd for CacheStatsPrefer
Source§impl Serialize for CacheStatsPrefer
impl Serialize for CacheStatsPrefer
impl StructuralPartialEq for CacheStatsPrefer
Source§impl TryFrom<&String> for CacheStatsPrefer
impl TryFrom<&String> for CacheStatsPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CacheStatsPrefer
impl TryFrom<&str> for CacheStatsPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CacheStatsPrefer
impl TryFrom<String> for CacheStatsPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CacheStatsPrefer
impl RefUnwindSafe for CacheStatsPrefer
impl Send for CacheStatsPrefer
impl Sync for CacheStatsPrefer
impl Unpin for CacheStatsPrefer
impl UnsafeUnpin for CacheStatsPrefer
impl UnwindSafe for CacheStatsPrefer
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