pub struct AsyncSessionPool {
pub inputs: Vec<Input>,
/* private fields */
}Fields§
§inputs: Vec<Input>Implementations§
Source§impl AsyncSessionPool
impl AsyncSessionPool
pub fn commit_from_file( builder: SessionBuilder, path: &Path, max_sessions: usize, ) -> Result<Self>
pub async fn load_all(&self) -> Result<()>
pub async fn run_async<'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>
pub async fn run_async_profiled<'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>, Result<Duration, SystemTimeError>, String), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for AsyncSessionPool
impl !UnwindSafe for AsyncSessionPool
impl Freeze for AsyncSessionPool
impl Send for AsyncSessionPool
impl Sync for AsyncSessionPool
impl Unpin for AsyncSessionPool
impl UnsafeUnpin for AsyncSessionPool
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