pub struct SseConfig { /* private fields */ }Implementations§
Source§impl SseConfig
Inherent implementation of SseConfig.
impl SseConfig
Inherent implementation of SseConfig.
Sourcepub fn with_heartbeat_ms(self, heartbeat_ms: u64) -> Self
pub fn with_heartbeat_ms(self, heartbeat_ms: u64) -> Self
Sourcepub fn with_retry_ms(self, retry_ms: u64) -> Self
pub fn with_retry_ms(self, retry_ms: u64) -> Self
Sourcepub fn with_replay_capacity(self, replay_capacity: usize) -> Self
pub fn with_replay_capacity(self, replay_capacity: usize) -> Self
Sourcepub fn with_channel_capacity(self, channel_capacity: usize) -> Self
pub fn with_channel_capacity(self, channel_capacity: usize) -> Self
Source§impl SseConfig
impl SseConfig
pub fn get_heartbeat_ms(&self) -> u64
pub fn get_mut_heartbeat_ms(&mut self) -> &mut u64
pub fn set_heartbeat_ms(&mut self, val: u64) -> &mut Self
pub fn get_retry_ms(&self) -> u64
pub fn get_mut_retry_ms(&mut self) -> &mut u64
pub fn set_retry_ms(&mut self, val: u64) -> &mut Self
pub fn get_replay_capacity(&self) -> usize
pub fn get_mut_replay_capacity(&mut self) -> &mut usize
pub fn set_replay_capacity(&mut self, val: usize) -> &mut Self
pub fn get_channel_capacity(&self) -> usize
pub fn get_mut_channel_capacity(&mut self) -> &mut usize
pub fn set_channel_capacity(&mut self, val: usize) -> &mut Self
pub fn get_max_topics(&self) -> usize
pub fn get_mut_max_topics(&mut self) -> &mut usize
pub fn set_max_topics(&mut self, val: usize) -> &mut Self
Trait Implementations§
impl Eq for SseConfig
impl StructuralPartialEq for SseConfig
Auto Trait Implementations§
impl Forget for SseConfig
impl Freeze for SseConfig
impl Move for SseConfig
impl RefUnwindSafe for SseConfig
impl Send for SseConfig
impl Sync for SseConfig
impl Unpin for SseConfig
impl UnsafeUnpin for SseConfig
impl UnwindSafe for SseConfig
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.