pub struct RendezvousOptions {
pub remote: SocketAddress,
pub socket: SocketOptions,
}
Fields
remote: SocketAddress
socket: SocketOptions
Implementations
pub fn with(
remote: impl TryInto<SocketAddress>,
socket: SocketOptions
) -> Result<Valid<RendezvousOptions>, OptionsError>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.