pub struct SessionPool { /* private fields */ }Implementations§
Source§impl SessionPool
impl SessionPool
pub fn commit_from_file( builder: SessionBuilder, path: &Path, max_sessions: usize, ) -> Result<Self>
pub fn load_all(&self) -> Result<()>
pub fn run_binding<'b, 's: 'b>( &'s self, binding: &'b IoBinding, ) -> Result<SessionOutputs<'b>>
pub fn run_binding_with_options<'r, 'b, 's: 'b>( &'s self, binding: &'b IoBinding, run_options: &'r RunOptions<NoSelectedOutputs>, ) -> Result<SessionOutputs<'b>>
pub fn run<'s, 'i, 'v: 'i, const N: usize>( &'s self, input_values: impl Into<SessionInputs<'i, 'v, N>>, ) -> Result<SessionOutputs<'s>>
pub fn run_with_options<'r, 's: 'r, 'i, 'v: 'i + 'r, O: SelectedOutputMarker, const N: usize>( &'s self, input_values: impl Into<SessionInputs<'i, 'v, N>>, run_options: &'r RunOptions<O>, ) -> Result<SessionOutputs<'r>, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for SessionPool
impl !UnwindSafe for SessionPool
impl Freeze for SessionPool
impl Send for SessionPool
impl Sync for SessionPool
impl Unpin for SessionPool
impl UnsafeUnpin for SessionPool
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