Struct srt_protocol::options::SocketOptions
source · pub struct SocketOptions {
pub connect: Connect,
pub session: Session,
pub encryption: Encryption,
pub sender: Sender,
pub receiver: Receiver,
}
Fields§
§connect: Connect
§session: Session
§encryption: Encryption
§sender: Sender
§receiver: Receiver
Implementations§
Trait Implementations§
source§impl Clone for SocketOptions
impl Clone for SocketOptions
source§fn clone(&self) -> SocketOptions
fn clone(&self) -> SocketOptions
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 CompositeValidation for SocketOptions
impl CompositeValidation for SocketOptions
fn is_valid_composite(&self) -> Result<(), <Self as Validation>::Error>
source§impl Debug for SocketOptions
impl Debug for SocketOptions
source§impl Default for SocketOptions
impl Default for SocketOptions
source§fn default() -> SocketOptions
fn default() -> SocketOptions
Returns the “default value” for a type. Read more
source§impl From<SocketOptions> for ConnInitSettings
impl From<SocketOptions> for ConnInitSettings
source§fn from(options: SocketOptions) -> Self
fn from(options: SocketOptions) -> Self
Converts to this type from the input type.
source§impl OptionsOf<Connect> for SocketOptions
impl OptionsOf<Connect> for SocketOptions
fn set_options(&mut self, value: Connect)
source§impl OptionsOf<Encryption> for SocketOptions
impl OptionsOf<Encryption> for SocketOptions
fn set_options(&mut self, value: Encryption)
source§impl OptionsOf<Receiver> for SocketOptions
impl OptionsOf<Receiver> for SocketOptions
fn set_options(&mut self, value: Receiver)
source§impl OptionsOf<Sender> for SocketOptions
impl OptionsOf<Sender> for SocketOptions
fn set_options(&mut self, value: Sender)
source§impl OptionsOf<Session> for SocketOptions
impl OptionsOf<Session> for SocketOptions
fn set_options(&mut self, value: Session)
source§impl OptionsOf<SocketOptions> for CallerOptions
impl OptionsOf<SocketOptions> for CallerOptions
fn set_options(&mut self, value: SocketOptions)
source§impl OptionsOf<SocketOptions> for ListenerOptions
impl OptionsOf<SocketOptions> for ListenerOptions
fn set_options(&mut self, value: SocketOptions)
source§impl OptionsOf<SocketOptions> for RendezvousOptions
impl OptionsOf<SocketOptions> for RendezvousOptions
fn set_options(&mut self, value: SocketOptions)
source§impl PartialEq<SocketOptions> for SocketOptions
impl PartialEq<SocketOptions> for SocketOptions
source§fn eq(&self, other: &SocketOptions) -> bool
fn eq(&self, other: &SocketOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Validation for SocketOptions
impl Validation for SocketOptions
impl Eq for SocketOptions
impl StructuralEq for SocketOptions
impl StructuralPartialEq for SocketOptions
Auto Trait Implementations§
impl RefUnwindSafe for SocketOptions
impl Send for SocketOptions
impl Sync for SocketOptions
impl Unpin for SocketOptions
impl UnwindSafe for SocketOptions
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.