pub struct Finished { /* private fields */ }Expand description
Implementations§
Source§impl Finished
impl Finished
Sourcepub fn abort(self, err: Error) -> Result<()>
pub fn abort(self, err: Error) -> Result<()>
Release the group’s cached frames, reporting err to readers that have not drained it.
The group stays finished: a reader that took every frame still ends cleanly.
Sourcepub fn frame_count(&self) -> usize
pub fn frame_count(&self) -> usize
The number of frames the group holds, counting any it started past.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Finished
impl RefUnwindSafe for Finished
impl Send for Finished
impl Sync for Finished
impl Unpin for Finished
impl UnsafeUnpin for Finished
impl UnwindSafe for Finished
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