pub struct BatchAddProgress<'a>(/* private fields */);
Expand description
A progress handle for a batch scoped add operation.
Implementations§
Source§impl<'a> BatchAddProgress<'a>
impl<'a> BatchAddProgress<'a>
pub async fn with_named_tag( self, name: impl AsRef<[u8]>, ) -> RequestResult<HashAndFormat>
pub async fn with_tag(self) -> RequestResult<TagInfo>
pub async fn stream(self) -> impl Stream<Item = AddProgressItem>
pub async fn temp_tag(self) -> RequestResult<TempTag>
Trait Implementations§
Source§impl<'a> IntoFuture for BatchAddProgress<'a>
impl<'a> IntoFuture for BatchAddProgress<'a>
Source§type Output = Result<TempTag, RequestError>
type Output = Result<TempTag, RequestError>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <BatchAddProgress<'a> as IntoFuture>::Output> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <BatchAddProgress<'a> as IntoFuture>::Output> + Send + 'a>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for BatchAddProgress<'a>
impl<'a> !RefUnwindSafe for BatchAddProgress<'a>
impl<'a> Send for BatchAddProgress<'a>
impl<'a> !Sync for BatchAddProgress<'a>
impl<'a> Unpin for BatchAddProgress<'a>
impl<'a> !UnwindSafe for BatchAddProgress<'a>
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