pub struct SessionContext<'a> { /* private fields */ }Expand description
A DaftSession backed by a FFI_SessionContext from the host.
This bridges the safe DaftSession trait to the C ABI session
context provided by the Daft host.
Implementations§
Source§impl<'a> SessionContext<'a>
impl<'a> SessionContext<'a>
pub fn new(session: &'a mut FFI_SessionContext) -> Self
Trait Implementations§
Source§impl DaftSession for SessionContext<'_>
impl DaftSession for SessionContext<'_>
fn define_function(&mut self, func: DaftScalarFunctionRef)
Auto Trait Implementations§
impl<'a> Freeze for SessionContext<'a>
impl<'a> RefUnwindSafe for SessionContext<'a>
impl<'a> Send for SessionContext<'a>
impl<'a> Sync for SessionContext<'a>
impl<'a> Unpin for SessionContext<'a>
impl<'a> UnsafeUnpin for SessionContext<'a>
impl<'a> !UnwindSafe for SessionContext<'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