pub struct RunnerWithRecommendedSampling<Inner> {
pub inner: Inner,
pub default_sampling: SimpleSamplingParams,
}Fields§
§inner: Inner§default_sampling: SimpleSamplingParamsTrait Implementations§
Source§impl<Inner> From<Inner> for RunnerWithRecommendedSampling<Inner>
impl<Inner> From<Inner> for RunnerWithRecommendedSampling<Inner>
Source§impl<'s, 'req, Inner> TextLmRunner<'s, 'req> for RunnerWithRecommendedSampling<Inner>where
Inner: TextLmRunner<'s, 'req>,
impl<'s, 'req, Inner> TextLmRunner<'s, 'req> for RunnerWithRecommendedSampling<Inner>where
Inner: TextLmRunner<'s, 'req>,
type Response = <Inner as TextLmRunner<'s, 'req>>::Response
fn stream_lm_response(&'s self, request: TextLmRequest<'req>) -> Self::Response
Source§impl<'s, 'req, Inner> VisionLmRunner<'s, 'req> for RunnerWithRecommendedSampling<Inner>where
Inner: VisionLmRunner<'s, 'req>,
impl<'s, 'req, Inner> VisionLmRunner<'s, 'req> for RunnerWithRecommendedSampling<Inner>where
Inner: VisionLmRunner<'s, 'req>,
type Response = <Inner as VisionLmRunner<'s, 'req>>::Response
fn stream_vlm_response( &'s self, request: VisionLmRequest<'req>, ) -> Self::Response
Auto Trait Implementations§
impl<Inner> Freeze for RunnerWithRecommendedSampling<Inner>where
Inner: Freeze,
impl<Inner> RefUnwindSafe for RunnerWithRecommendedSampling<Inner>where
Inner: RefUnwindSafe,
impl<Inner> Send for RunnerWithRecommendedSampling<Inner>where
Inner: Send,
impl<Inner> Sync for RunnerWithRecommendedSampling<Inner>where
Inner: Sync,
impl<Inner> Unpin for RunnerWithRecommendedSampling<Inner>where
Inner: Unpin,
impl<Inner> UnsafeUnpin for RunnerWithRecommendedSampling<Inner>where
Inner: UnsafeUnpin,
impl<Inner> UnwindSafe for RunnerWithRecommendedSampling<Inner>where
Inner: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more