Struct graph_http::byterange::ByteRanges
source · [−]pub struct ByteRanges<F> { /* private fields */ }
Implementations
sourceimpl ByteRanges<File>
impl ByteRanges<File>
pub fn new<P: AsRef<Path>>(path: P) -> GraphResult<ByteRanges<File>>
sourceimpl ByteRanges<File>
impl ByteRanges<File>
pub async fn new<P: AsRef<Path>>(path: P) -> GraphResult<ByteRanges<File>>
Trait Implementations
sourceimpl AsyncByteRangeRead for ByteRanges<File>
impl AsyncByteRangeRead for ByteRanges<File>
fn read_to_vec<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<VecDeque<(u64, u64, Vec<u8>)>>> + Send + 'async_trait>> where
Self: 'async_trait,
fn read_to_vec_range<'async_trait>(
self,
start: u64,
end: u64
) -> Pin<Box<dyn Future<Output = Result<VecDeque<(u64, u64, Vec<u8>)>>> + Send + 'async_trait>> where
Self: 'async_trait,
sourceimpl<F> ByteRangeMultiple for ByteRanges<F>
impl<F> ByteRangeMultiple for ByteRanges<F>
sourceimpl ByteRangeRead for ByteRanges<File>
impl ByteRangeRead for ByteRanges<File>
Auto Trait Implementations
impl<F> RefUnwindSafe for ByteRanges<F> where
F: RefUnwindSafe,
impl<F> Send for ByteRanges<F> where
F: Send,
impl<F> Sync for ByteRanges<F> where
F: Sync,
impl<F> Unpin for ByteRanges<F> where
F: Unpin,
impl<F> UnwindSafe for ByteRanges<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more