pub struct Logging<'c> { /* private fields */ }Implementations§
Source§impl Logging<'_>
impl Logging<'_>
Sourcepub async fn list(&self) -> Result<Vec<LogChannel>>
pub async fn list(&self) -> Result<Vec<LogChannel>>
Gets Asterisk log channel information.
Sourcepub async fn add(&self, request: AddRequest) -> Result<()>
pub async fn add(&self, request: AddRequest) -> Result<()>
Add a log channel
Example: NOTICE WARNING ERROR VERBOSE
Auto Trait Implementations§
impl<'c> Freeze for Logging<'c>
impl<'c> !RefUnwindSafe for Logging<'c>
impl<'c> Send for Logging<'c>
impl<'c> Sync for Logging<'c>
impl<'c> Unpin for Logging<'c>
impl<'c> !UnwindSafe for Logging<'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