pub struct StatPrintSink<'a> { /* private fields */ }Expand description
A handle that lets a Handlerton::show_status implementation push one or
more rows of engine status back to MySQL. Bound to the connection and
stat_print_fn MySQL handed in, so it does not outlive the callback.
Each Self::emit call surfaces as one row of SHOW ENGINE <name> STATUS:
kind is the row’s type (typically the engine name), key a sub-label, and
value the displayed text.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for StatPrintSink<'a>
impl<'a> !Sync for StatPrintSink<'a>
impl<'a> Freeze for StatPrintSink<'a>
impl<'a> RefUnwindSafe for StatPrintSink<'a>
impl<'a> Unpin for StatPrintSink<'a>
impl<'a> UnsafeUnpin for StatPrintSink<'a>
impl<'a> UnwindSafe for StatPrintSink<'a>
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