[−][src]Struct orientdb_client::sync::session::OSession
Fields
client_id: i32
session_id: i32
token: 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]
&self,
script: T,
language: S
) -> Statement
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,