pub struct RemoteSpace { /* private fields */ }
Expand description
Remote space
Implementations§
Source§impl RemoteSpace
impl RemoteSpace
Sourcepub fn index(&self, name: &str) -> Result<Option<RemoteIndex>, Error>
pub fn index(&self, name: &str) -> Result<Option<RemoteIndex>, Error>
Find index by name (on remote space)
Sourcepub fn primary_key(&self) -> RemoteIndex
pub fn primary_key(&self) -> RemoteIndex
Returns index with id = 0
Sourcepub fn get<K>(&self, key: &K, options: &Options) -> Result<Option<Tuple>, Error>where
K: ToTupleBuffer + ?Sized,
pub fn get<K>(&self, key: &K, options: &Options) -> Result<Option<Tuple>, Error>where
K: ToTupleBuffer + ?Sized,
The remote-call equivalent of the local call Space::get(...)
(see details).
Sourcepub fn select<K>(
&self,
iterator_type: IteratorType,
key: &K,
options: &Options,
) -> Result<RemoteIndexIterator, Error>where
K: ToTupleBuffer + ?Sized,
pub fn select<K>(
&self,
iterator_type: IteratorType,
key: &K,
options: &Options,
) -> Result<RemoteIndexIterator, Error>where
K: ToTupleBuffer + ?Sized,
The remote-call equivalent of the local call Space::select(...)
(see details).
Sourcepub fn insert<T>(
&self,
value: &T,
options: &Options,
) -> Result<Option<Tuple>, Error>where
T: ToTupleBuffer + ?Sized,
pub fn insert<T>(
&self,
value: &T,
options: &Options,
) -> Result<Option<Tuple>, Error>where
T: ToTupleBuffer + ?Sized,
The remote-call equivalent of the local call Space::insert(...)
(see details).
Sourcepub fn replace<T>(
&self,
value: &T,
options: &Options,
) -> Result<Option<Tuple>, Error>where
T: ToTupleBuffer + ?Sized,
pub fn replace<T>(
&self,
value: &T,
options: &Options,
) -> Result<Option<Tuple>, Error>where
T: ToTupleBuffer + ?Sized,
The remote-call equivalent of the local call Space::replace(...)
(see details).
Sourcepub fn update<K, Op>(
&self,
key: &K,
ops: &[Op],
options: &Options,
) -> Result<Option<Tuple>, Error>
pub fn update<K, Op>( &self, key: &K, ops: &[Op], options: &Options, ) -> Result<Option<Tuple>, Error>
The remote-call equivalent of the local call Space::update(...)
(see details).
Auto Trait Implementations§
impl Freeze for RemoteSpace
impl !RefUnwindSafe for RemoteSpace
impl !Send for RemoteSpace
impl !Sync for RemoteSpace
impl Unpin for RemoteSpace
impl !UnwindSafe for RemoteSpace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more