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