pub enum UploadState {
Reserved,
Ready,
InFlight(FenceValue),
Cancelled,
}Expand description
Current lifecycle of an upload reservation.
Variants§
Reserved
Reserved bytes may be filled by the caller.
Ready
Staging bytes are complete and may be submitted.
InFlight(FenceValue)
A backend submission may still read the bytes.
Cancelled
The reservation was cancelled before submission.
Trait Implementations§
Source§impl Clone for UploadState
impl Clone for UploadState
impl Copy for UploadState
Source§impl Debug for UploadState
impl Debug for UploadState
impl Eq for UploadState
Source§impl PartialEq for UploadState
impl PartialEq for UploadState
impl StructuralPartialEq for UploadState
Auto Trait Implementations§
impl Freeze for UploadState
impl RefUnwindSafe for UploadState
impl Send for UploadState
impl Sync for UploadState
impl Unpin for UploadState
impl UnsafeUnpin for UploadState
impl UnwindSafe for UploadState
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