Struct asio::ip::V6Only [] [src]

pub struct V6Only(_);

Socket option for determining whether an IPv6 socket supports IPv6 communication only.

Trait Implementations

impl Clone for V6Only
[src]

fn clone(&self) -> V6Only

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Default for V6Only
[src]

fn default() -> V6Only

Returns the "default value" for a type. Read more

impl BooleanOption for V6Only
[src]

fn on() -> Self

fn is_on(&self) -> bool

fn off() -> Self

fn is_off(&self) -> bool

impl<S: IpSocket> GetSocketOption<S> for V6Only
[src]

type Data = i32

fn level(&self) -> i32

fn name(&self) -> i32

fn data_mut(&mut self) -> &mut Self::Data

fn size(&self) -> usize

fn resize(&mut self, _: usize)

impl<S: IpSocket> SetSocketOption<S> for V6Only
[src]

fn data(&self) -> &Self::Data