pub struct DbRpcClient { /* private fields */ }
Implementations§
Source§impl DbRpcClient
impl DbRpcClient
pub fn with_request_client(request_client: Client, cfg: DbRpcClientCfg) -> Self
pub fn new(cfg: DbRpcClientCfg) -> Self
pub fn database(&self, db_name: &str) -> DbRpcDbClient
Trait Implementations§
Source§impl Clone for DbRpcClient
impl Clone for DbRpcClient
Source§fn clone(&self) -> DbRpcClient
fn clone(&self) -> DbRpcClient
Returns a copy 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 DbRpcClient
impl !RefUnwindSafe for DbRpcClient
impl Send for DbRpcClient
impl Sync for DbRpcClient
impl Unpin for DbRpcClient
impl !UnwindSafe for DbRpcClient
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