pub struct VersionMismatchError {
pub supported: Vec<String>,
pub requested: String,
}
Expand description
Error returned when protocol versions don’t match
Fields§
§supported: Vec<String>
§requested: String
Trait Implementations§
Source§impl Clone for VersionMismatchError
impl Clone for VersionMismatchError
Source§fn clone(&self) -> VersionMismatchError
fn clone(&self) -> VersionMismatchError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VersionMismatchError
impl Debug for VersionMismatchError
Source§impl<'de> Deserialize<'de> for VersionMismatchError
impl<'de> Deserialize<'de> for VersionMismatchError
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
Auto Trait Implementations§
impl Freeze for VersionMismatchError
impl RefUnwindSafe for VersionMismatchError
impl Send for VersionMismatchError
impl Sync for VersionMismatchError
impl Unpin for VersionMismatchError
impl UnwindSafe for VersionMismatchError
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