[][src]Struct orientdb_client::sync::session::OSession

pub struct OSession {
    pub client_id: i32,
    pub session_id: i32,
    pub token: Option<Vec<u8>>,
    // some fields omitted
}

Fields

client_id: i32session_id: i32token: Option<Vec<u8>>

Methods

impl OSession[src]

pub fn query<T: Into<String>>(&self, query: T) -> Statement[src]

pub fn command<T: Into<String>>(&self, command: T) -> Statement[src]

pub fn script_sql<T: Into<String>>(&self, script: T) -> Statement[src]

pub fn script<T: Into<String>, S: Into<String>>(
    &self,
    script: T,
    language: S
) -> Statement
[src]

pub fn close(self) -> OrientResult<()>[src]

Close a session

Auto Trait Implementations

impl Send for OSession

impl Sync for OSession

impl Unpin for OSession

impl !UnwindSafe for OSession

impl !RefUnwindSafe for OSession

Blanket Implementations

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

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]