pub struct RemoteEnvironment { /* private fields */ }Implementations§
Source§impl RemoteEnvironment
impl RemoteEnvironment
pub async fn open_with_builder<D, E>( path: PathBuf, builder: EnvironmentBuilder, client: NewClient<RemoteMDBXClient, D>, deadline: Duration, ) -> Result<Self, ClientError>
pub async fn begin_ro_txn(&self) -> Result<RemoteTransaction<RO>, ClientError>
pub async fn begin_rw_txn(&self) -> Result<RemoteTransaction<RW>, ClientError>
pub async fn sync(&self, force: bool) -> Result<bool, ClientError>
pub async fn stat(&self) -> Result<Stat, ClientError>
pub async fn info(&self) -> Result<Info, ClientError>
pub fn env_kind(&self) -> EnvironmentKind
pub fn is_write_map(&self) -> bool
pub async fn is_read_write(&self) -> Result<bool, ClientError>
pub async fn is_read_only(&self) -> Result<bool, ClientError>
Trait Implementations§
Source§impl Clone for RemoteEnvironment
impl Clone for RemoteEnvironment
Source§fn clone(&self) -> RemoteEnvironment
fn clone(&self) -> RemoteEnvironment
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 moreAuto Trait Implementations§
impl Freeze for RemoteEnvironment
impl !RefUnwindSafe for RemoteEnvironment
impl Send for RemoteEnvironment
impl Sync for RemoteEnvironment
impl Unpin for RemoteEnvironment
impl !UnwindSafe for RemoteEnvironment
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