pub struct FnExporter<F> { /* private fields */ }Expand description
Adapter for an application-owned async export function.
Implementations§
Source§impl<F> FnExporter<F>
impl<F> FnExporter<F>
Trait Implementations§
Source§impl<F> BatchExporter for FnExporter<F>
impl<F> BatchExporter for FnExporter<F>
Source§fn export<'a>(&'a self, batch: &'a [AggregatedUsage]) -> ExportFuture<'a>
fn export<'a>(&'a self, batch: &'a [AggregatedUsage]) -> ExportFuture<'a>
Export every aggregate in
batch. Read moreAuto Trait Implementations§
impl<F> Freeze for FnExporter<F>where
F: Freeze,
impl<F> RefUnwindSafe for FnExporter<F>where
F: RefUnwindSafe,
impl<F> Send for FnExporter<F>where
F: Send,
impl<F> Sync for FnExporter<F>where
F: Sync,
impl<F> Unpin for FnExporter<F>where
F: Unpin,
impl<F> UnsafeUnpin for FnExporter<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FnExporter<F>where
F: 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