Struct oxygengine::prelude::FetchProcess
source · pub struct FetchProcess { /* private fields */ }
Implementations§
source§impl FetchProcess
impl FetchProcess
pub fn new() -> FetchProcess
pub fn new_start() -> FetchProcess
pub fn new_done(data: Vec<u8, Global>) -> FetchProcess
pub fn new_cancel(reason: FetchCancelReason) -> FetchProcess
pub fn id(&self) -> ID<FetchProcess>
pub fn status(&self) -> FetchStatus
pub fn start(&mut self)
pub fn progress(&mut self, value: f32)
pub fn done(&mut self, data: Vec<u8, Global>)
pub fn cancel(&mut self, reason: FetchCancelReason)
pub fn readers_count(&self) -> usize
pub fn read(&self) -> Option<Vec<u8, Global>>
pub fn byte_size(&self) -> Option<usize>
Trait Implementations§
source§impl Clone for FetchProcess
impl Clone for FetchProcess
source§fn clone(&self) -> FetchProcess
fn clone(&self) -> FetchProcess
Returns a copy 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 moresource§impl Default for FetchProcess
impl Default for FetchProcess
source§fn default() -> FetchProcess
fn default() -> FetchProcess
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FetchProcess
impl Send for FetchProcess
impl Sync for FetchProcess
impl Unpin for FetchProcess
impl UnwindSafe for FetchProcess
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> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more