pub struct RpcClientNotificationConfig {
pub buffer_size: usize,
pub overflow_policy: NotificationOverflowPolicy,
}Fields§
§buffer_size: usize§overflow_policy: NotificationOverflowPolicyImplementations§
Source§impl RpcClientNotificationConfig
impl RpcClientNotificationConfig
pub fn new(buffer_size: usize) -> Self
pub fn with_buffer_size(self, buffer_size: usize) -> Self
pub fn with_overflow_policy( self, overflow_policy: NotificationOverflowPolicy, ) -> Self
Trait Implementations§
Source§impl Clone for RpcClientNotificationConfig
impl Clone for RpcClientNotificationConfig
Source§fn clone(&self) -> RpcClientNotificationConfig
fn clone(&self) -> RpcClientNotificationConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RpcClientNotificationConfig
impl Debug for RpcClientNotificationConfig
Source§impl PartialEq for RpcClientNotificationConfig
impl PartialEq for RpcClientNotificationConfig
Source§fn eq(&self, other: &RpcClientNotificationConfig) -> bool
fn eq(&self, other: &RpcClientNotificationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RpcClientNotificationConfig
impl Eq for RpcClientNotificationConfig
impl StructuralPartialEq for RpcClientNotificationConfig
Auto Trait Implementations§
impl Freeze for RpcClientNotificationConfig
impl RefUnwindSafe for RpcClientNotificationConfig
impl Send for RpcClientNotificationConfig
impl Sync for RpcClientNotificationConfig
impl Unpin for RpcClientNotificationConfig
impl UnsafeUnpin for RpcClientNotificationConfig
impl UnwindSafe for RpcClientNotificationConfig
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