pub struct ConnectCommand { /* private fields */ }
Implementations§
Source§impl ConnectCommand
impl ConnectCommand
pub fn new(client_version: &str) -> Self
pub fn set_auth(&mut self, method_name: &str, data: &[u8]) -> &mut Self
pub fn set_protocol_version( &mut self, protocol_version: ProtocolVersion, ) -> &mut Self
pub fn hide_auth_data(&mut self, value: &[u8])
Trait Implementations§
Source§impl Clone for ConnectCommand
impl Clone for ConnectCommand
Source§fn clone(&self) -> ConnectCommand
fn clone(&self) -> ConnectCommand
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 ConnectCommand
impl Debug for ConnectCommand
Source§impl From<&ConnectCommand> for Command
impl From<&ConnectCommand> for Command
Source§fn from(c: &ConnectCommand) -> Self
fn from(c: &ConnectCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ConnectCommand
impl RefUnwindSafe for ConnectCommand
impl Send for ConnectCommand
impl Sync for ConnectCommand
impl Unpin for ConnectCommand
impl UnwindSafe for ConnectCommand
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
)