pub struct RemoteMDBXServer { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for RemoteMDBXServer
impl Clone for RemoteMDBXServer
Source§fn clone(&self) -> RemoteMDBXServer
fn clone(&self) -> RemoteMDBXServer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoteMDBXServer
impl Debug for RemoteMDBXServer
Source§impl RemoteMDBX for RemoteMDBXServer
impl RemoteMDBX for RemoteMDBXServer
async fn open_env( self, _context: Context, path: PathBuf, cfg: RemoteEnvironmentConfig, ) -> Result<u64, ServerError>
async fn env_close(self, _context: Context, env: u64) -> Result<(), ServerError>
async fn env_stat( self, _context: Context, env: u64, ) -> Result<Stat, ServerError>
async fn env_info( self, _context: Context, env: u64, ) -> Result<Info, ServerError>
async fn env_sync( self, _context: Context, env: u64, force: bool, ) -> Result<bool, ServerError>
async fn env_ro_tx( self, _context: Context, env: u64, ) -> Result<u64, ServerError>
async fn env_rw_tx( self, _context: Context, env: u64, ) -> Result<u64, ServerError>
async fn tx_create_db( self, _context: Context, env: u64, tx: u64, db: Option<String>, flags: u32, ) -> Result<u32, ServerError>
async fn tx_get( self, _context: Context, env: u64, tx: u64, dbi: u32, key: Vec<u8>, ) -> Result<Option<Vec<u8>>, ServerError>
async fn tx_put( self, _context: Context, env: u64, tx: u64, dbi: u32, key: Vec<u8>, value: Vec<u8>, flags: u32, ) -> Result<(), ServerError>
async fn tx_del( self, _context: Context, env: u64, tx: u64, dbi: u32, key: Vec<u8>, value: Option<Vec<u8>>, ) -> Result<bool, ServerError>
async fn tx_commit( self, _context: Context, env: u64, tx: u64, ) -> Result<(bool, CommitLatency), ServerError>
async fn tx_abort( self, _context: Context, env: u64, tx: u64, ) -> Result<(), ServerError>
async fn tx_nested( self, _context: Context, env: u64, tx: u64, ) -> Result<u64, ServerError>
async fn tx_db_stat( self, _context: Context, env: u64, tx: u64, dbi: u32, ) -> Result<Stat, ServerError>
async fn clear_db( self, _context: Context, env: u64, tx: u64, dbi: u32, ) -> Result<(), ServerError>
async fn tx_ro_cursor( self, _context: Context, env: u64, tx: u64, dbi: u32, ) -> Result<u64, ServerError>
async fn tx_rw_cursor( self, _context: Context, env: u64, tx: u64, dbi: u32, ) -> Result<u64, ServerError>
async fn cur_create( self, _context: Context, env: u64, tx: u64, cur: u64, ) -> Result<u64, ServerError>
async fn cur_get( self, _context: Context, env: u64, tx: u64, cur: u64, key: Option<Vec<u8>>, data: Option<Vec<u8>>, op: u32, ) -> Result<(Option<Vec<u8>>, Vec<u8>, bool), ServerError>
async fn cur_put( self, _context: Context, env: u64, tx: u64, cur: u64, key: Vec<u8>, value: Vec<u8>, flags: u32, ) -> Result<(), ServerError>
async fn cur_del( self, _context: Context, env: u64, tx: u64, cur: u64, flags: u32, ) -> Result<(), ServerError>
async fn cur_close( self, _context: Context, env: u64, tx: u64, cur: u64, ) -> Result<(), ServerError>
async fn batch_cur_get_full( self, _context: Context, env: u64, tx: u64, cur: u64, cnt: u64, buffer: u64, op: u32, ) -> Result<Vec<(Vec<u8>, Vec<u8>)>, ServerError>
Source§fn serve(self) -> ServeRemoteMDBX<Self>
fn serve(self) -> ServeRemoteMDBX<Self>
Returns a serving function to use with
InFlightRequest::execute.
Auto Trait Implementations§
impl Freeze for RemoteMDBXServer
impl !RefUnwindSafe for RemoteMDBXServer
impl Send for RemoteMDBXServer
impl Sync for RemoteMDBXServer
impl Unpin for RemoteMDBXServer
impl !UnwindSafe for RemoteMDBXServer
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