Struct tarantool::net_box::RemoteSpace[][src]

pub struct RemoteSpace { /* fields omitted */ }

Remote space

Implementations

impl RemoteSpace[src]

pub fn index(&self, name: &str) -> Result<Option<RemoteIndex>, Error>[src]

Find index by name (on remote space)

pub fn primary_key(&self) -> RemoteIndex[src]

Returns index with id = 0

pub fn get<K>(&self, key: &K, options: &Options) -> Result<Option<Tuple>, Error> where
    K: AsTuple
[src]

The remote-call equivalent of the local call Space::get(...) (see details).

pub fn select<K>(
    &self,
    iterator_type: IteratorType,
    key: &K,
    options: &Options
) -> Result<RemoteIndexIterator, Error> where
    K: AsTuple
[src]

The remote-call equivalent of the local call Space::select(...) (see details).

pub fn insert<T>(
    &mut self,
    value: &T,
    options: &Options
) -> Result<Option<Tuple>, Error> where
    T: AsTuple
[src]

The remote-call equivalent of the local call Space::insert(...) (see details).

pub fn replace<T>(
    &mut self,
    value: &T,
    options: &Options
) -> Result<Option<Tuple>, Error> where
    T: AsTuple
[src]

The remote-call equivalent of the local call Space::replace(...) (see details).

pub fn update<K, Op>(
    &mut self,
    key: &K,
    ops: &Vec<Op>,
    options: &Options
) -> Result<Option<Tuple>, Error> where
    K: AsTuple,
    Op: AsTuple
[src]

The remote-call equivalent of the local call Space::update(...) (see details).

pub fn upsert<T, Op>(
    &mut self,
    value: &T,
    ops: &Vec<Op>,
    options: &Options
) -> Result<Option<Tuple>, Error> where
    T: AsTuple,
    Op: AsTuple
[src]

The remote-call equivalent of the local call Space::upsert(...) (see details).

pub fn delete<K>(
    &mut self,
    key: &K,
    options: &Options
) -> Result<Option<Tuple>, Error> where
    K: AsTuple
[src]

The remote-call equivalent of the local call Space::delete(...) (see details).

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.