Struct eventstore::commands::CreatePersistentSubscription [−][src]
pub struct CreatePersistentSubscription<'a> { /* fields omitted */ }
A command that creates a persistent subscription for a given group.
Methods
impl<'a> CreatePersistentSubscription<'a>
[src]
impl<'a> CreatePersistentSubscription<'a>
pub fn credentials(self, creds: Credentials) -> CreatePersistentSubscription<'a>
[src]
pub fn credentials(self, creds: Credentials) -> CreatePersistentSubscription<'a>
Performs the command with the given credentials.
pub fn settings(
self,
sub_settings: PersistentSubscriptionSettings
) -> CreatePersistentSubscription<'a>
[src]
pub fn settings(
self,
sub_settings: PersistentSubscriptionSettings
) -> CreatePersistentSubscription<'a>
Creates a persistent subscription based on the given
types::PersistentSubscriptionSettings
.
pub fn execute(
self
) -> impl Future<Item = PersistActionResult, Error = OperationError>
[src]
pub fn execute(
self
) -> impl Future<Item = PersistActionResult, Error = OperationError>
Sends the persistent subscription creation command asynchronously to the server.
Auto Trait Implementations
impl<'a> Send for CreatePersistentSubscription<'a>
impl<'a> Send for CreatePersistentSubscription<'a>
impl<'a> Sync for CreatePersistentSubscription<'a>
impl<'a> Sync for CreatePersistentSubscription<'a>