pub struct WebSocketSessionOptions {
pub name: Option<String>,
pub retry: RetryPolicy,
pub send_policy: WebSocketSessionSendPolicy,
}Expand description
WebSocketSessionOptions data container.
Fields§
§name: Option<String>name field for name.
retry: RetryPolicyretry field for retry.
send_policy: WebSocketSessionSendPolicysend_policy field for send policy.
Trait Implementations§
Source§impl Clone for WebSocketSessionOptions
impl Clone for WebSocketSessionOptions
Source§fn clone(&self) -> WebSocketSessionOptions
fn clone(&self) -> WebSocketSessionOptions
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 Default for WebSocketSessionOptions
impl Default for WebSocketSessionOptions
Source§fn default() -> WebSocketSessionOptions
fn default() -> WebSocketSessionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebSocketSessionOptions
impl RefUnwindSafe for WebSocketSessionOptions
impl Send for WebSocketSessionOptions
impl Sync for WebSocketSessionOptions
impl Unpin for WebSocketSessionOptions
impl UnsafeUnpin for WebSocketSessionOptions
impl UnwindSafe for WebSocketSessionOptions
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