Struct oxygengine_core::fetch::FetchProcess [−][src]
pub struct FetchProcess { /* fields omitted */ }
Implementations
impl FetchProcess
[src]
impl FetchProcess
[src]pub fn new() -> Self
[src]
pub fn new_start() -> Self
[src]
pub fn new_done(data: Vec<u8>) -> Self
[src]
pub fn new_cancel(reason: FetchCancelReason) -> Self
[src]
pub fn id(&self) -> FetchProcessId
[src]
pub fn status(&self) -> FetchStatus
[src]
pub fn start(&mut self)
[src]
pub fn progress(&mut self, value: Scalar)
[src]
pub fn done(&mut self, data: Vec<u8>)
[src]
pub fn cancel(&mut self, reason: FetchCancelReason)
[src]
pub fn readers_count(&self) -> usize
[src]
pub fn read(&self) -> Option<Vec<u8>>
[src]
pub fn byte_size(&self) -> Option<usize>
[src]
Trait Implementations
impl Clone for FetchProcess
[src]
impl Clone for FetchProcess
[src]fn clone(&self) -> FetchProcess
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for FetchProcess
[src]
impl Default for FetchProcess
[src]Auto Trait Implementations
impl RefUnwindSafe for FetchProcess
impl RefUnwindSafe for FetchProcess
impl Send for FetchProcess
impl Send for FetchProcess
impl Sync for FetchProcess
impl Sync for FetchProcess
impl Unpin for FetchProcess
impl Unpin for FetchProcess
impl UnwindSafe for FetchProcess
impl UnwindSafe for FetchProcess
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
impl<T> TryDefault for T where
T: Default,
[src]
impl<T> TryDefault for T where
T: Default,
[src]