pub struct UpdatesConfiguration {
pub update_queue_limit: Option<usize>,
}Expand description
Configuration for Client::stream_updates.
Fields§
§update_queue_limit: Option<usize>Optional cap on the internal update queue. Excess updates are dropped with a warning.
Trait Implementations§
Source§impl Clone for UpdatesConfiguration
impl Clone for UpdatesConfiguration
Source§fn clone(&self) -> UpdatesConfiguration
fn clone(&self) -> UpdatesConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdatesConfiguration
impl Debug for UpdatesConfiguration
Auto Trait Implementations§
impl Freeze for UpdatesConfiguration
impl RefUnwindSafe for UpdatesConfiguration
impl Send for UpdatesConfiguration
impl Sync for UpdatesConfiguration
impl Unpin for UpdatesConfiguration
impl UnsafeUnpin for UpdatesConfiguration
impl UnwindSafe for UpdatesConfiguration
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