pub struct GraphConnection { /* private fields */ }Expand description
Bolt 连接句柄
Implementations§
Source§impl GraphConnection
impl GraphConnection
pub fn new(config: GraphConfig) -> Self
pub fn config(&self) -> &GraphConfig
pub fn is_connected(&self) -> bool
pub fn connect(&mut self) -> Result<(), GraphError>
pub fn disconnect(&mut self)
Auto Trait Implementations§
impl Freeze for GraphConnection
impl RefUnwindSafe for GraphConnection
impl Send for GraphConnection
impl Sync for GraphConnection
impl Unpin for GraphConnection
impl UnsafeUnpin for GraphConnection
impl UnwindSafe for GraphConnection
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