pub enum ServeStopPrefer {
RespondAsync,
}Expand description
ServeStopPrefer
JSON schema
{
"type": "string",
"enum": [
"respond-async"
]
}Variants§
RespondAsync
Trait Implementations§
Source§impl Clone for ServeStopPrefer
impl Clone for ServeStopPrefer
impl Copy for ServeStopPrefer
Source§impl Debug for ServeStopPrefer
impl Debug for ServeStopPrefer
Source§impl<'de> Deserialize<'de> for ServeStopPrefer
impl<'de> Deserialize<'de> for ServeStopPrefer
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 ServeStopPrefer
impl Display for ServeStopPrefer
impl Eq for ServeStopPrefer
Source§impl From<&ServeStopPrefer> for ServeStopPrefer
impl From<&ServeStopPrefer> for ServeStopPrefer
Source§fn from(value: &ServeStopPrefer) -> Self
fn from(value: &ServeStopPrefer) -> Self
Converts to this type from the input type.
Source§impl FromStr for ServeStopPrefer
impl FromStr for ServeStopPrefer
Source§impl Hash for ServeStopPrefer
impl Hash for ServeStopPrefer
Source§impl Ord for ServeStopPrefer
impl Ord for ServeStopPrefer
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ServeStopPrefer
impl PartialEq for ServeStopPrefer
Source§impl PartialOrd for ServeStopPrefer
impl PartialOrd for ServeStopPrefer
Source§impl Serialize for ServeStopPrefer
impl Serialize for ServeStopPrefer
impl StructuralPartialEq for ServeStopPrefer
Source§impl TryFrom<&String> for ServeStopPrefer
impl TryFrom<&String> for ServeStopPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ServeStopPrefer
impl TryFrom<&str> for ServeStopPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ServeStopPrefer
impl TryFrom<String> for ServeStopPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ServeStopPrefer
impl RefUnwindSafe for ServeStopPrefer
impl Send for ServeStopPrefer
impl Sync for ServeStopPrefer
impl Unpin for ServeStopPrefer
impl UnsafeUnpin for ServeStopPrefer
impl UnwindSafe for ServeStopPrefer
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