pub struct SimpleHandshaker {
pub user: String,
pub pass: String,
pub virtual_host: String,
}
Fields§
§user: String
§pass: String
§virtual_host: String
Trait Implementations§
Source§impl Handshaker for SimpleHandshaker
impl Handshaker for SimpleHandshaker
fn reply_to_start<'a>(&mut self, start: &'a StartMethod) -> StartOkMethod
fn reply_to_secure<'a>(&mut self, _secure: &'a SecureMethod) -> SecureOkMethod
fn reply_to_tune<'a>(&mut self, tune: &'a TuneMethod) -> TuneOkMethod
fn create_open(&mut self) -> OpenMethod
fn inspect_open_ok<'a>(&mut self, open_ok: &'a OpenOkMethod)
Auto Trait Implementations§
impl Freeze for SimpleHandshaker
impl RefUnwindSafe for SimpleHandshaker
impl Send for SimpleHandshaker
impl Sync for SimpleHandshaker
impl Unpin for SimpleHandshaker
impl UnwindSafe for SimpleHandshaker
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