pub struct ExtFnApi { /* private fields */ }
Implementations§
Source§impl ExtFnApi
impl ExtFnApi
pub fn from_raw( extapi: *mut RawExtApi, arg_handle: *mut RawSqlFnArguments, ) -> Self
pub fn get_connection(&self) -> Result<*mut c_void, Error>
pub fn arg(&self, idx: u32) -> Result<ExtFnValue, Error>
pub fn return_value<E, R>(&self, idx: u32, to_return: R) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtFnApi
impl RefUnwindSafe for ExtFnApi
impl !Send for ExtFnApi
impl !Sync for ExtFnApi
impl Unpin for ExtFnApi
impl UnwindSafe for ExtFnApi
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