Enum dis_rs::SupportedVersion
source · pub enum SupportedVersion {
V6,
V7,
Unsupported,
}
Variants§
Trait Implementations§
source§impl From<ProtocolVersion> for SupportedVersion
impl From<ProtocolVersion> for SupportedVersion
source§fn from(version: ProtocolVersion) -> Self
fn from(version: ProtocolVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SupportedVersion
impl RefUnwindSafe for SupportedVersion
impl Send for SupportedVersion
impl Sync for SupportedVersion
impl Unpin for SupportedVersion
impl UnwindSafe for SupportedVersion
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