pub struct WebSocketConnectionStringOptions { /* private fields */ }Implementations§
Source§impl WebSocketConnectionStringOptions
impl WebSocketConnectionStringOptions
pub fn heartbeat_interval(&self) -> IggyDuration
pub fn reconnection(&self) -> &WebSocketClientReconnectionConfig
pub fn read_buffer_size(&self) -> Option<usize>
pub fn write_buffer_size(&self) -> Option<usize>
pub fn max_write_buffer_size(&self) -> Option<usize>
pub fn max_message_size(&self) -> Option<usize>
pub fn max_frame_size(&self) -> Option<usize>
pub fn accept_unmasked_frames(&self) -> Option<bool>
pub fn tls_enabled(&self) -> bool
pub fn tls_domain(&self) -> &str
pub fn tls_ca_file(&self) -> Option<&str>
pub fn tls_validate_certificate(&self) -> bool
Trait Implementations§
Source§impl Clone for WebSocketConnectionStringOptions
impl Clone for WebSocketConnectionStringOptions
Source§fn clone(&self) -> WebSocketConnectionStringOptions
fn clone(&self) -> WebSocketConnectionStringOptions
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 ConnectionStringOptions for WebSocketConnectionStringOptions
impl ConnectionStringOptions for WebSocketConnectionStringOptions
fn retries(&self) -> Option<u32>
fn heartbeat_interval(&self) -> IggyDuration
fn parse_options(options_str: &str) -> Result<Self, IggyError>
Auto Trait Implementations§
impl Freeze for WebSocketConnectionStringOptions
impl RefUnwindSafe for WebSocketConnectionStringOptions
impl Send for WebSocketConnectionStringOptions
impl Sync for WebSocketConnectionStringOptions
impl Unpin for WebSocketConnectionStringOptions
impl UnsafeUnpin for WebSocketConnectionStringOptions
impl UnwindSafe for WebSocketConnectionStringOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more