pub struct Modules<'c> { /* private fields */ }Implementations§
Source§impl Modules<'_>
impl Modules<'_>
Sourcepub async fn get(&self, name: impl Into<String> + Send) -> Result<Module>
pub async fn get(&self, name: impl Into<String> + Send) -> Result<Module>
Get Asterisk module information.
Sourcepub async fn load(&self, name: impl Into<String> + Send) -> Result<()>
pub async fn load(&self, name: impl Into<String> + Send) -> Result<()>
Load an Asterisk module.
Auto Trait Implementations§
impl<'c> Freeze for Modules<'c>
impl<'c> !RefUnwindSafe for Modules<'c>
impl<'c> Send for Modules<'c>
impl<'c> Sync for Modules<'c>
impl<'c> Unpin for Modules<'c>
impl<'c> !UnwindSafe for Modules<'c>
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