pub struct SubscriptionBuilder { /* private fields */ }
Expand description
Subscription builder
Implementations§
Source§impl SubscriptionBuilder
impl SubscriptionBuilder
Sourcepub fn event(self, event: RealtimeEvent) -> Self
pub fn event(self, event: RealtimeEvent) -> Self
Set the event type to listen for
Auto Trait Implementations§
impl Freeze for SubscriptionBuilder
impl !RefUnwindSafe for SubscriptionBuilder
impl Send for SubscriptionBuilder
impl Sync for SubscriptionBuilder
impl Unpin for SubscriptionBuilder
impl !UnwindSafe for SubscriptionBuilder
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