pub struct FileExtManagerBuilder {
pub plugins: HashMap<String, Arc<RuntimeFileExt>>,
}
Fields§
§plugins: HashMap<String, Arc<RuntimeFileExt>>
Implementations§
Source§impl FileExtManagerBuilder
impl FileExtManagerBuilder
pub async fn new() -> Result<FileExtManagerBuilder, Report>
pub async fn load_statically_linked_plugin<T>(&mut self) -> Result<(), Report>where
T: FileExtPlugin + 'static,
pub async fn load_dynamically_linked_plugin( &mut self, path: PathBuf, ) -> Result<(), Report>
Auto Trait Implementations§
impl Freeze for FileExtManagerBuilder
impl !RefUnwindSafe for FileExtManagerBuilder
impl Send for FileExtManagerBuilder
impl Sync for FileExtManagerBuilder
impl Unpin for FileExtManagerBuilder
impl !UnwindSafe for FileExtManagerBuilder
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