[][src]Enum nng::options::transport::tls::CaFile

pub enum CaFile {}

Used to load certificates associated associated private key from a file.

See the CA Config documentation for more information.

Support

  • Dialers and Listeners can set this option with the following transports:
    • TLS
    • WebSocket (Secure)
  • Sockets can set this to set a default value.

Trait Implementations

impl Opt for CaFile[src]

type OptType = String

The type that the option read and writes.

impl SetOpt<CaFile> for DialerOptions[src]

impl SetOpt<CaFile> for ListenerOptions[src]

impl SetOpt<CaFile> for Socket[src]

impl Clone for CaFile[src]

impl Copy for CaFile[src]

impl Eq for CaFile[src]

impl Ord for CaFile[src]

impl PartialEq<CaFile> for CaFile[src]

impl PartialOrd<CaFile> for CaFile[src]

impl Debug for CaFile[src]

impl Display for CaFile[src]

impl Hash for CaFile[src]

impl StructuralPartialEq for CaFile[src]

impl StructuralEq for CaFile[src]

Auto Trait Implementations

impl Send for CaFile

impl Sync for CaFile

impl Unpin for CaFile

impl UnwindSafe for CaFile

impl RefUnwindSafe for CaFile

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]