pub struct InstanceData {
pub callback_handler: Arc<Mutex<dyn RkllmCallbackHandler + Send + Sync>>,
}Expand description
Internal structure to hold the callback handler.
Fields§
§callback_handler: Arc<Mutex<dyn RkllmCallbackHandler + Send + Sync>>The callback handler wrapped in Arc and Mutex for thread safety.
Auto Trait Implementations§
impl Freeze for InstanceData
impl RefUnwindSafe for InstanceData
impl Send for InstanceData
impl Sync for InstanceData
impl Unpin for InstanceData
impl UnwindSafe for InstanceData
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