pub struct Result {
pub wire_protocol_version_maj: u8,
pub wire_protocol_version_min: u8,
}
Expand description
Native object for Ping result.
The latest wire protocol version supported by the service. The version is represented as x.y
where x
is the version major and y
the version minor.
Fields§
§wire_protocol_version_maj: u8
Supported latest wire protocol version major
wire_protocol_version_min: u8
Supported latest wire protocol version minor
Trait Implementations§
Source§impl From<Result> for NativeResult
impl From<Result> for NativeResult
impl Copy for Result
Auto Trait Implementations§
impl Freeze for Result
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnwindSafe for Result
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