[−][src]Struct eventstore::commands::ConnectToPersistentSubscription
A subscription model where the server remembers the state of the consumption of a stream. This allows for many different modes of operations compared to a regular subscription where the client hols the subscription state.
Methods
impl<'a> ConnectToPersistentSubscription<'a>
[src]
pub fn credentials(
self,
creds: Credentials
) -> ConnectToPersistentSubscription<'a>
[src]
self,
creds: Credentials
) -> ConnectToPersistentSubscription<'a>
Performs the command with the given credentials.
pub fn batch_size(self, batch_size: u16) -> ConnectToPersistentSubscription<'a>
[src]
The buffer size to use for the persistent subscription.
pub fn execute(self) -> Subscription
[src]
Sends the persistent subscription connection request to the server asynchronously even if the subscription is available right away.
Auto Trait Implementations
impl<'a> Send for ConnectToPersistentSubscription<'a>
impl<'a> Sync for ConnectToPersistentSubscription<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,