pub struct AdapipeFormat;Expand description
Implementation of BinaryFormatService
Implementations§
Source§impl AdapipeFormat
impl AdapipeFormat
Trait Implementations§
Source§impl BinaryFormatService for AdapipeFormat
impl BinaryFormatService for AdapipeFormat
Source§fn create_writer<'life0, 'life1, 'async_trait>(
&'life0 self,
output_path: &'life1 Path,
header: FileHeader,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn BinaryFormatWriter>, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_writer<'life0, 'life1, 'async_trait>(
&'life0 self,
output_path: &'life1 Path,
header: FileHeader,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn BinaryFormatWriter>, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Creates a new .adapipe format writer for streaming processed output
Source§fn create_reader<'life0, 'life1, 'async_trait>(
&'life0 self,
input_path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn BinaryFormatReader>, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_reader<'life0, 'life1, 'async_trait>(
&'life0 self,
input_path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn BinaryFormatReader>, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Creates a new .adapipe format reader for streaming processed input
Source§fn validate_file<'life0, 'life1, 'async_trait>(
&'life0 self,
file_path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<ValidationResult, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn validate_file<'life0, 'life1, 'async_trait>(
&'life0 self,
file_path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<ValidationResult, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Validates an .adapipe processed file without full restoration
Source§fn read_metadata<'life0, 'life1, 'async_trait>(
&'life0 self,
file_path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<FileHeader, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read_metadata<'life0, 'life1, 'async_trait>(
&'life0 self,
file_path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<FileHeader, PipelineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Extracts metadata from an .adapipe processed file
Auto Trait Implementations§
impl Freeze for AdapipeFormat
impl RefUnwindSafe for AdapipeFormat
impl Send for AdapipeFormat
impl Sync for AdapipeFormat
impl Unpin for AdapipeFormat
impl UnwindSafe for AdapipeFormat
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