Struct srt_protocol::options::RendezvousOptions
source · pub struct RendezvousOptions {
pub remote: SocketAddress,
pub socket: SocketOptions,
}Fields§
§remote: SocketAddress§socket: SocketOptionsImplementations§
source§impl RendezvousOptions
impl RendezvousOptions
pub fn new( remote: impl TryInto<SocketAddress> ) -> Result<Valid<Self>, OptionsError>
pub fn with( remote: impl TryInto<SocketAddress>, socket: SocketOptions ) -> Result<Valid<RendezvousOptions>, OptionsError>
Trait Implementations§
source§impl Clone for RendezvousOptions
impl Clone for RendezvousOptions
source§fn clone(&self) -> RendezvousOptions
fn clone(&self) -> RendezvousOptions
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 RendezvousOptions
impl CompositeValidation for RendezvousOptions
fn is_valid_composite(&self) -> Result<(), <Self as Validation>::Error>
source§impl Debug for RendezvousOptions
impl Debug for RendezvousOptions
source§impl OptionsOf<Connect> for RendezvousOptions
impl OptionsOf<Connect> for RendezvousOptions
fn set_options(&mut self, value: Connect)
source§impl OptionsOf<Encryption> for RendezvousOptions
impl OptionsOf<Encryption> for RendezvousOptions
fn set_options(&mut self, value: Encryption)
source§impl OptionsOf<Receiver> for RendezvousOptions
impl OptionsOf<Receiver> for RendezvousOptions
fn set_options(&mut self, value: Receiver)
source§impl OptionsOf<Sender> for RendezvousOptions
impl OptionsOf<Sender> for RendezvousOptions
fn set_options(&mut self, value: Sender)
source§impl OptionsOf<Session> for RendezvousOptions
impl OptionsOf<Session> for RendezvousOptions
fn set_options(&mut self, value: Session)
source§impl OptionsOf<SocketOptions> for RendezvousOptions
impl OptionsOf<SocketOptions> for RendezvousOptions
fn set_options(&mut self, value: SocketOptions)
source§impl PartialEq<RendezvousOptions> for RendezvousOptions
impl PartialEq<RendezvousOptions> for RendezvousOptions
source§fn eq(&self, other: &RendezvousOptions) -> bool
fn eq(&self, other: &RendezvousOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Validation for RendezvousOptions
impl Validation for RendezvousOptions
impl Eq for RendezvousOptions
impl StructuralEq for RendezvousOptions
impl StructuralPartialEq for RendezvousOptions
Auto Trait Implementations§
impl RefUnwindSafe for RendezvousOptions
impl Send for RendezvousOptions
impl Sync for RendezvousOptions
impl Unpin for RendezvousOptions
impl UnwindSafe for RendezvousOptions
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<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.