pub struct S3RangeReader { /* private fields */ }Expand description
S3 range reader using object_store
Implementations§
Source§impl S3RangeReader
impl S3RangeReader
Sourcepub fn new(url: &str) -> AnyResult<Self>
pub fn new(url: &str) -> AnyResult<Self>
Create from an S3 URL like s3://bucket/key
Sourcepub fn from_https(url: &str) -> AnyResult<Self>
pub fn from_https(url: &str) -> AnyResult<Self>
Create from an HTTPS URL pointing to S3-hosted content
Trait Implementations§
Source§impl RangeReader for S3RangeReader
impl RangeReader for S3RangeReader
Auto Trait Implementations§
impl Freeze for S3RangeReader
impl RefUnwindSafe for S3RangeReader
impl Send for S3RangeReader
impl Sync for S3RangeReader
impl Unpin for S3RangeReader
impl UnwindSafe for S3RangeReader
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