pub enum Backend {
Observer(Box<dyn Observer>),
Emitter(Box<dyn Emitter>),
Adapter(Box<dyn Adapter>),
}Expand description
a constructed backend, tagged with its capability.
Variants§
Observer(Box<dyn Observer>)
read-only backend (e.g. peeringdb).
Emitter(Box<dyn Emitter>)
write-only backend (e.g. django codegen).
Adapter(Box<dyn Adapter>)
read+write backend.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Backend
impl !UnwindSafe for Backend
impl Freeze for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
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