pub struct UnsupportedProtocolVersionErrorData {
pub requested: String,
pub supported: Vec<String>,
}Fields§
§requested: StringThe protocol version that was requested by the client.
supported: Vec<String>Protocol versions the server supports. The client should choose a mutually supported version from this list and retry.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnsupportedProtocolVersionErrorData
impl<'de> Deserialize<'de> for UnsupportedProtocolVersionErrorData
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
impl StructuralPartialEq for UnsupportedProtocolVersionErrorData
Auto Trait Implementations§
impl Freeze for UnsupportedProtocolVersionErrorData
impl RefUnwindSafe for UnsupportedProtocolVersionErrorData
impl Send for UnsupportedProtocolVersionErrorData
impl Sync for UnsupportedProtocolVersionErrorData
impl Unpin for UnsupportedProtocolVersionErrorData
impl UnsafeUnpin for UnsupportedProtocolVersionErrorData
impl UnwindSafe for UnsupportedProtocolVersionErrorData
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