pub struct ImageProgress<H> { /* private fields */ }Expand description
Caller-owned progress survives future cancellation. Once generation starts, this object cannot be reused for generation: a dropped send may have billed upstream. All completed image bytes and native usage remain available. Publication operation IDs are recorded BEFORE awaiting publish; recover an uncertain result with ResourceAccess::publication_status(scope, id).
Implementations§
Source§impl<H> ImageProgress<H>
impl<H> ImageProgress<H>
pub fn started(&self) -> bool
pub fn attempted_calls(&self) -> usize
pub fn calls(&self) -> &[ImageCallResult]
pub fn publication_ids(&self) -> &[String]
pub fn published(&self) -> &[PublishedResource<H>]
Trait Implementations§
Source§impl<H: Debug> Debug for ImageProgress<H>
impl<H: Debug> Debug for ImageProgress<H>
Auto Trait Implementations§
impl<H> Freeze for ImageProgress<H>
impl<H> RefUnwindSafe for ImageProgress<H>
impl<H> Send for ImageProgress<H>
impl<H> Sync for ImageProgress<H>
impl<H> Unpin for ImageProgress<H>
impl<H> UnsafeUnpin for ImageProgress<H>
impl<H> UnwindSafe for ImageProgress<H>
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