pub enum Datastore {
Running,
Candidate,
Startup,
}Expand description
NETCONF datastore targets.
§Examples
use rustnetconf::Datastore;
let ds = Datastore::Candidate;
assert_eq!(ds.as_xml_tag(), "candidate");Variants§
Running
The running configuration datastore.
Candidate
The candidate configuration datastore (requires :candidate capability).
Startup
The startup configuration datastore (requires :startup capability).
Implementations§
Trait Implementations§
impl Copy for Datastore
impl Eq for Datastore
impl StructuralPartialEq for Datastore
Auto Trait Implementations§
impl Freeze for Datastore
impl RefUnwindSafe for Datastore
impl Send for Datastore
impl Sync for Datastore
impl Unpin for Datastore
impl UnsafeUnpin for Datastore
impl UnwindSafe for Datastore
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