[][src]Struct isilon::apis::configuration::Configuration

pub struct Configuration<C: Connect> {
    pub base_path: String,
    pub client: Client<C>,
    // some fields omitted
}

Fields

base_path: Stringclient: Client<C>

Methods

impl<C: Connect + 'static> Configuration<C>[src]

pub fn new(
    client: Client<C>,
    server: &str,
    basic_authorization: bool,
    user: &str,
    password: &str,
    ssl_cert: Option<&Path>
) -> Configuration<C>
[src]

The Isilon docs say basic authorization is slow and resource intensive.
The default here is to use session tokens but you can fall back on basic authorization if need be by setting basic_authorization to true

pub fn login(&mut self) -> Result<(), Error>[src]

Synchronous login function

pub fn logout(&self) -> Box<dyn Future<Item = (), Error = Error>>[src]

Auto Trait Implementations

impl<C> Send for Configuration<C>

impl<C> Sync for Configuration<C>

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 = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T