pub struct StreamLoaderController { /* private fields */ }Implementations§
Source§impl StreamLoaderController
impl StreamLoaderController
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn range_available(&self, range: Range) -> bool
pub fn range_to_end_available(&self) -> bool
pub fn ping_time(&self) -> Option<Duration>
pub fn fetch(&self, range: Range)
pub fn fetch_blocking(&self, range: Range) -> Result<(), Error>
pub fn fetch_next_and_wait( &self, request_length: usize, wait_length: usize, ) -> Result<(), Error>
pub fn set_random_access_mode(&self)
pub fn set_stream_mode(&self)
pub fn close(&self)
pub fn from_local_file(file_size: u64) -> Self
Trait Implementations§
Source§impl Clone for StreamLoaderController
impl Clone for StreamLoaderController
Source§fn clone(&self) -> StreamLoaderController
fn clone(&self) -> StreamLoaderController
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamLoaderController
impl RefUnwindSafe for StreamLoaderController
impl Send for StreamLoaderController
impl Sync for StreamLoaderController
impl Unpin for StreamLoaderController
impl UnwindSafe for StreamLoaderController
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