Struct cyfs_bdt::chunk::ChunkUploader
source · [−]pub struct ChunkUploader(_);Implementations
sourceimpl ChunkUploader
impl ChunkUploader
pub fn new(view: ChunkView, owner: ResourceManager) -> Self
pub fn chunk(&self) -> &ChunkId
pub fn resource(&self) -> &ResourceManager
pub fn schedule_state(&self) -> TaskState
pub fn add_session(&self, session: UploadSession) -> BuckyResult<()>
Trait Implementations
sourceimpl Clone for ChunkUploader
impl Clone for ChunkUploader
sourcefn clone(&self) -> ChunkUploader
fn clone(&self) -> ChunkUploader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Display for ChunkUploader
impl Display for ChunkUploader
sourceimpl Scheduler for ChunkUploader
impl Scheduler for ChunkUploader
fn collect_resource_usage(&self)
fn schedule_resource(&self)
fn apply_scheduled_resource(&self)
Auto Trait Implementations
impl !RefUnwindSafe for ChunkUploader
impl Send for ChunkUploader
impl Sync for ChunkUploader
impl Unpin for ChunkUploader
impl !UnwindSafe for ChunkUploader
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