pub struct Authenticator { /* private fields */ }
Implementations§
source§impl Authenticator
impl Authenticator
pub fn new(url: &str) -> Result<Self, BinlogError>
pub async fn connect(&mut self) -> Result<PacketChannel, BinlogError>
Auto Trait Implementations§
impl Freeze for Authenticator
impl RefUnwindSafe for Authenticator
impl Send for Authenticator
impl Sync for Authenticator
impl Unpin for Authenticator
impl UnwindSafe for Authenticator
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