[][src]Enum bitcoincore_rpc::Auth

pub enum Auth<'a> {
    None,
    UserPass(StringString),
    CookieFile(&'a str),
}

The different authentication methods for the client.

Variants

NoneUserPass(StringString)CookieFile(&'a str)

Auto Trait Implementations

impl<'a> Send for Auth<'a>

impl<'a> Sync for Auth<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Configure for T where
    T: ?Sized
[src]

default fn readable(self) -> Readable<Self>[src]

Marks self as using is_human_readable == true

default fn compact(self) -> Compact<Self>[src]

Marks self as using is_human_readable == false

impl<T> Typeable for T where
    T: Any

default fn get_type(&self) -> TypeId

Get the TypeId of this object.