#[repr(C)]pub struct BNMcpToolCallCallbacks {
pub context: *mut c_void,
pub getBinaryView: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut BNBinaryView>,
pub isCancelled: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> bool>,
pub reportProgress: Option<unsafe extern "C" fn(ctxt: *mut c_void, progress: f64, total: f64, message: *const c_char)>,
}Fields§
§context: *mut c_void§getBinaryView: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> *mut BNBinaryView>§isCancelled: Option<unsafe extern "C" fn(ctxt: *mut c_void) -> bool>§reportProgress: Option<unsafe extern "C" fn(ctxt: *mut c_void, progress: f64, total: f64, message: *const c_char)>Trait Implementations§
Source§impl Clone for BNMcpToolCallCallbacks
impl Clone for BNMcpToolCallCallbacks
Source§fn clone(&self) -> BNMcpToolCallCallbacks
fn clone(&self) -> BNMcpToolCallCallbacks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BNMcpToolCallCallbacks
Source§impl Debug for BNMcpToolCallCallbacks
impl Debug for BNMcpToolCallCallbacks
Auto Trait Implementations§
impl !Send for BNMcpToolCallCallbacks
impl !Sync for BNMcpToolCallCallbacks
impl Freeze for BNMcpToolCallCallbacks
impl RefUnwindSafe for BNMcpToolCallCallbacks
impl Unpin for BNMcpToolCallCallbacks
impl UnsafeUnpin for BNMcpToolCallCallbacks
impl UnwindSafe for BNMcpToolCallCallbacks
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