pub struct ConnectionData { /* private fields */ }
Implementations§
Source§impl ConnectionData
impl ConnectionData
pub fn id(&self) -> u32
pub fn is_mariadb(&self) -> bool
pub fn version(&self) -> (u16, u16, u16)
pub fn capabilities(&self) -> CapabilityFlags
pub fn auth_plugin(&self) -> AuthPlugin
pub fn max_allowed_packet(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionData
impl !RefUnwindSafe for ConnectionData
impl Send for ConnectionData
impl Sync for ConnectionData
impl Unpin for ConnectionData
impl !UnwindSafe for ConnectionData
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