pub struct ConnectedCommand { /* private fields */ }
Implementations§
Source§impl ConnectedCommand
impl ConnectedCommand
pub fn get_server_version(&self) -> &str
pub fn get_protocol_version(&self) -> Option<ProtocolVersion>
pub fn get_max_message_size(&self) -> Option<u32>
Trait Implementations§
Source§impl Clone for ConnectedCommand
impl Clone for ConnectedCommand
Source§fn clone(&self) -> ConnectedCommand
fn clone(&self) -> ConnectedCommand
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 moreAuto Trait Implementations§
impl !Freeze for ConnectedCommand
impl RefUnwindSafe for ConnectedCommand
impl Send for ConnectedCommand
impl Sync for ConnectedCommand
impl Unpin for ConnectedCommand
impl UnwindSafe for ConnectedCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)