pub struct ExternalBackends {
pub backends: HashMap<String, BackendProxy>,
/* private fields */
}Fields§
§backends: HashMap<String, BackendProxy>Implementations§
Source§impl ExternalBackends
impl ExternalBackends
pub fn new() -> ExternalBackends
pub fn from_dir<P>(dir_path: P) -> Result<ExternalBackends, BackendError>
pub unsafe fn load<P: AsRef<OsStr>>( &mut self, lib_path: P, ) -> Result<(), BackendError>
pub fn trace(&self, backend: &str, args: BackendArgs) -> Result<(), TraceError>
Auto Trait Implementations§
impl Freeze for ExternalBackends
impl !RefUnwindSafe for ExternalBackends
impl !Send for ExternalBackends
impl !Sync for ExternalBackends
impl Unpin for ExternalBackends
impl UnsafeUnpin for ExternalBackends
impl !UnwindSafe for ExternalBackends
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