Struct tarantool::net_box::RemoteSpace [−][src]
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]
K: AsTuple,
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]
&self,
iterator_type: IteratorType,
key: &K,
options: &Options
) -> Result<RemoteIndexIterator, Error> where
K: AsTuple,
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]
&mut self,
value: &T,
options: &Options
) -> Result<Option<Tuple>, Error> where
T: AsTuple,
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]
&mut self,
value: &T,
options: &Options
) -> Result<Option<Tuple>, Error> where
T: AsTuple,
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]
&mut self,
key: &K,
ops: &Vec<Op>,
options: &Options
) -> Result<Option<Tuple>, Error> where
K: AsTuple,
Op: AsTuple,
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]
&mut self,
value: &T,
ops: &Vec<Op>,
options: &Options
) -> Result<Option<Tuple>, Error> where
T: AsTuple,
Op: AsTuple,
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]
&mut self,
key: &K,
options: &Options
) -> Result<Option<Tuple>, Error> where
K: AsTuple,
The remote-call equivalent of the local call Space::delete(...)
(see details).
Auto Trait Implementations
impl !RefUnwindSafe for RemoteSpace
impl !Send for RemoteSpace
impl !Sync for RemoteSpace
impl Unpin for RemoteSpace
impl !UnwindSafe for RemoteSpace
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub 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>,