[−][src]Struct graph_http::byterange::ByteRanges
Implementations
impl ByteRanges<File>
[src]
pub fn new<P: AsRef<Path>>(path: P) -> GraphResult<ByteRanges<File>>
[src]
impl ByteRanges<File>
[src]
pub async fn new<P: AsRef<Path>>(path: P) -> GraphResult<ByteRanges<File>>
[src]
Trait Implementations
impl AsyncByteRangeRead for ByteRanges<File>
[src]
pub 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,
[src]
self
) -> Pin<Box<dyn Future<Output = Result<VecDeque<(u64, u64, Vec<u8>)>>> + Send + 'async_trait>> where
Self: 'async_trait,
pub 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,
[src]
self,
start: u64,
end: u64
) -> Pin<Box<dyn Future<Output = Result<VecDeque<(u64, u64, Vec<u8>)>>> + Send + 'async_trait>> where
Self: 'async_trait,
impl<F> ByteRangeMultiple for ByteRanges<F>
[src]
impl ByteRangeRead for ByteRanges<File>
[src]
pub fn read_to_vec(mut self: Self) -> Result<VecDeque<(u64, u64, Vec<u8>)>>
[src]
pub fn read_to_vec_range(
mut self: Self,
start: u64,
end: u64
) -> Result<VecDeque<(u64, u64, Vec<u8>)>>
[src]
mut self: Self,
start: u64,
end: u64
) -> Result<VecDeque<(u64, u64, Vec<u8>)>>
impl<F> Debug for ByteRanges<F> where
F: Debug,
[src]
F: Debug,
Auto Trait Implementations
impl<F> RefUnwindSafe for ByteRanges<F> where
F: RefUnwindSafe,
[src]
F: RefUnwindSafe,
impl<F> Send for ByteRanges<F> where
F: Send,
[src]
F: Send,
impl<F> Sync for ByteRanges<F> where
F: Sync,
[src]
F: Sync,
impl<F> Unpin for ByteRanges<F> where
F: Unpin,
[src]
F: Unpin,
impl<F> UnwindSafe for ByteRanges<F> where
F: UnwindSafe,
[src]
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,