pub struct OperationRef<'a, T, D> { /* private fields */ }Implementations§
Source§impl<'a, T, D> OperationRef<'a, T, D>
impl<'a, T, D> OperationRef<'a, T, D>
Source§impl<'a, T, D> OperationRef<'a, T, D>where
T: OperationTransport,
D: OperationDescriptor,
impl<'a, T, D> OperationRef<'a, T, D>where
T: OperationTransport,
D: OperationDescriptor,
pub async fn get( &self, ) -> Result<OperationSnapshot<D::Progress, D::Output>, TrellisClientError>
pub async fn wait( &self, ) -> Result<OperationSnapshot<D::Progress, D::Output>, TrellisClientError>
pub async fn cancel( &self, ) -> Result<OperationSnapshot<D::Progress, D::Output>, TrellisClientError>
pub async fn watch( &self, ) -> Result<BoxStream<'a, Result<OperationEvent<D::Progress, D::Output>, TrellisClientError>>, TrellisClientError>
Auto Trait Implementations§
impl<'a, T, D> Freeze for OperationRef<'a, T, D>
impl<'a, T, D> RefUnwindSafe for OperationRef<'a, T, D>where
T: RefUnwindSafe,
D: RefUnwindSafe,
impl<'a, T, D> Send for OperationRef<'a, T, D>
impl<'a, T, D> Sync for OperationRef<'a, T, D>
impl<'a, T, D> Unpin for OperationRef<'a, T, D>where
D: Unpin,
impl<'a, T, D> UnsafeUnpin for OperationRef<'a, T, D>
impl<'a, T, D> UnwindSafe for OperationRef<'a, T, D>where
T: RefUnwindSafe,
D: UnwindSafe,
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