pub struct Opened {
pub source: Source,
pub compression: Compression,
pub stored_size: Option<u64>,
pub modified: Option<SystemTime>,
pub batches: BatchReader,
pub checksum: ChecksumJob,
}Expand description
An opened input, ready to be read as batches.
Fields§
§source: SourceThe source.
compression: CompressionCompression detected from the content.
stored_size: Option<u64>Size of the stored bytes, for regular files.
modified: Option<SystemTime>Modification time, for regular files.
batches: BatchReaderThe batch reader.
checksum: ChecksumJobThe checksum job; finish it after the batch reader is dropped.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Opened
impl !Sync for Opened
impl !UnwindSafe for Opened
impl Freeze for Opened
impl Send for Opened
impl Unpin for Opened
impl UnsafeUnpin for Opened
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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