pub struct DgraphClient { /* private fields */ }Implementations§
Source§impl DgraphClient
impl DgraphClient
pub fn new(dc: Vec<DgraphClient>) -> Self
pub fn new_txn(&self) -> Txn<'_>
pub fn new_read_only(&self) -> Txn<'_>
pub fn new_best_effort(&self) -> Txn<'_>
Auto Trait Implementations§
impl Freeze for DgraphClient
impl !RefUnwindSafe for DgraphClient
impl Send for DgraphClient
impl Sync for DgraphClient
impl Unpin for DgraphClient
impl UnsafeUnpin for DgraphClient
impl !UnwindSafe for DgraphClient
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