Struct mariadb_sys::handler_bridge
source · #[repr(C)]pub struct handler_bridge {
pub _base: handler,
pub vt: *const handler_bridge_vt,
pub data: *mut c_void,
pub type_id: [u8; 16],
}
Expand description
Wrapper that can expose a C vtable as a C++ class
Fields§
§_base: handler
§vt: *const handler_bridge_vt
The vtable that we defer to for all method calls
data: *mut c_void
Storage for anything needed. Should only be touched by the C API, not this class.
type_id: [u8; 16]
Just a convenience point for a Rust type ID
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for handler_bridge
impl !Send for handler_bridge
impl !Sync for handler_bridge
impl Unpin for handler_bridge
impl !UnwindSafe for handler_bridge
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