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