Struct async_nats::jetstream::stream::Purge
source · pub struct Purge<SEQUENCE, KEEP>{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<S, K> IntoFuture for Purge<S, K>
impl<S, K> IntoFuture for Purge<S, K>
source§type Output = Result<PurgeResponse, Error<PurgeErrorKind>>
type Output = Result<PurgeResponse, Error<PurgeErrorKind>>
The output that the future will produce on completion.
source§type IntoFuture = Pin<Box<dyn Future<Output = Result<PurgeResponse, Error<PurgeErrorKind>>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<PurgeResponse, Error<PurgeErrorKind>>> + Send>>
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<SEQUENCE, KEEP> Freeze for Purge<SEQUENCE, KEEP>
impl<SEQUENCE, KEEP> !RefUnwindSafe for Purge<SEQUENCE, KEEP>
impl<SEQUENCE, KEEP> Send for Purge<SEQUENCE, KEEP>
impl<SEQUENCE, KEEP> Sync for Purge<SEQUENCE, KEEP>
impl<SEQUENCE, KEEP> Unpin for Purge<SEQUENCE, KEEP>
impl<SEQUENCE, KEEP> !UnwindSafe for Purge<SEQUENCE, KEEP>
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