pub enum BackendProtocol {
HTTP2,
Quic,
}
Variants§
Trait Implementations§
Source§impl Clone for BackendProtocol
impl Clone for BackendProtocol
Source§fn clone(&self) -> BackendProtocol
fn clone(&self) -> BackendProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BackendProtocol
impl Debug for BackendProtocol
Source§impl Default for BackendProtocol
impl Default for BackendProtocol
Source§fn default() -> BackendProtocol
fn default() -> BackendProtocol
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackendProtocol
impl<'de> Deserialize<'de> for BackendProtocol
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 BackendProtocol
impl Display for BackendProtocol
Source§impl Serialize for BackendProtocol
impl Serialize for BackendProtocol
impl Copy for BackendProtocol
Auto Trait Implementations§
impl Freeze for BackendProtocol
impl RefUnwindSafe for BackendProtocol
impl Send for BackendProtocol
impl Sync for BackendProtocol
impl Unpin for BackendProtocol
impl UnwindSafe for BackendProtocol
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