pub struct OciBoundProgress { /* private fields */ }Implementations§
Source§impl OciBoundProgress
impl OciBoundProgress
pub fn new( context: OciProgressContext, progress: OciProgress, ) -> OciBoundProgress
pub async fn update(&self, function: impl FnOnce(&mut OciProgress))
pub fn update_blocking(&self, function: impl FnOnce(&mut OciProgress))
pub async fn also_update(&self, context: OciProgressContext) -> JoinHandle<()>
Trait Implementations§
Source§impl Clone for OciBoundProgress
impl Clone for OciBoundProgress
Source§fn clone(&self) -> OciBoundProgress
fn clone(&self) -> OciBoundProgress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OciBoundProgress
impl !RefUnwindSafe for OciBoundProgress
impl Send for OciBoundProgress
impl Sync for OciBoundProgress
impl Unpin for OciBoundProgress
impl !UnwindSafe for OciBoundProgress
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