Struct sbd_client::SbdClientConfig
source · pub struct SbdClientConfig {
pub out_buffer_size: usize,
pub allow_plain_text: bool,
pub danger_disable_certificate_check: bool,
}Expand description
Configuration for connecting an SbdClient.
Fields§
§out_buffer_size: usizeOutgoing message buffer size.
allow_plain_text: boolSetting this to true allows ws:// scheme.
danger_disable_certificate_check: boolSetting this to true disables certificate verification on wss://
scheme. WARNING: this is a dangerous configuration and should not
be used outside of testing (i.e. self-signed tls certificates).
Trait Implementations§
source§impl Clone for SbdClientConfig
impl Clone for SbdClientConfig
source§fn clone(&self) -> SbdClientConfig
fn clone(&self) -> SbdClientConfig
Returns a copy 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 Default for SbdClientConfig
impl Default for SbdClientConfig
impl Copy for SbdClientConfig
Auto Trait Implementations§
impl Freeze for SbdClientConfig
impl RefUnwindSafe for SbdClientConfig
impl Send for SbdClientConfig
impl Sync for SbdClientConfig
impl Unpin for SbdClientConfig
impl UnwindSafe for SbdClientConfig
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