Struct netconf_rs::Connection
source · [−]pub struct Connection { /* private fields */ }
Expand description
A connection to NETCONF server
Implementations
sourceimpl Connection
impl Connection
pub fn new(transport: impl Transport + 'static) -> Result<Connection>
pub fn get_config(&mut self) -> Result<String>
Auto Trait Implementations
impl !RefUnwindSafe for Connection
impl Send for Connection
impl !Sync for Connection
impl Unpin for Connection
impl !UnwindSafe for Connection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more