Struct mariadb_sys::inplace_alter_handler_ctx
source · #[repr(C)]pub struct inplace_alter_handler_ctx {
pub vtable_: *const inplace_alter_handler_ctx__bindgen_vtable,
}
Expand description
In-place alter handler context.
This is a superclass intended to be subclassed by individual handlers in order to store handler unique context between in-place alter API calls.
The handler is responsible for creating the object. This can be done as early as during check_if_supported_inplace_alter().
The SQL layer is responsible for destroying the object. The class extends Sql_alloc so the memory will be mem root allocated.
@see Alter_inplace_info
Fields§
§vtable_: *const inplace_alter_handler_ctx__bindgen_vtable
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for inplace_alter_handler_ctx
impl !Send for inplace_alter_handler_ctx
impl !Sync for inplace_alter_handler_ctx
impl Unpin for inplace_alter_handler_ctx
impl UnwindSafe for inplace_alter_handler_ctx
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