[][src]Struct orientdb_client::client::OrientDB

pub struct OrientDB { /* fields omitted */ }

Methods

impl OrientDB[src]

pub fn connect<T: Into<String>>(host: T, port: u16) -> OrientResult<OrientDB>[src]

Methods from Deref<Target = OrientDBClientInternal>

pub fn sessions(
    &self,
    db_name: &str,
    user: &str,
    password: &str,
    size: Option<u32>
) -> OrientResult<SessionPool>
[src]

pub fn session(
    &self,
    db_name: &str,
    user: &str,
    password: &str
) -> OrientResult<OSession>
[src]

pub fn create_database(
    &self,
    db_name: &str,
    user: &str,
    password: &str,
    db_mode: DatabaseType
) -> OrientResult<()>
[src]

pub fn exist_database(
    &self,
    db_name: &str,
    user: &str,
    password: &str,
    db_type: DatabaseType
) -> OrientResult<bool>
[src]

pub fn drop_database(
    &self,
    db_name: &str,
    user: &str,
    password: &str,
    db_type: DatabaseType
) -> OrientResult<()>
[src]

Trait Implementations

impl Clone for OrientDB[src]

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

Performs copy-assignment from source. Read more

impl Deref for OrientDB[src]

type Target = OrientDBClientInternal

The resulting type after dereferencing.

Auto Trait Implementations

impl Sync for OrientDB

impl Unpin for OrientDB

impl Send for OrientDB

impl !UnwindSafe for OrientDB

impl !RefUnwindSafe for OrientDB

Blanket Implementations

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> From<T> for T[src]

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

type Error = Infallible

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]