pub struct AsyncSyslogInternal<F: SyslogFormatter + Send, D: AsyncSyslogDestination, IO: AsyncSyslogInternalIO> { /* private fields */ }Expand description
Internal structure of the syslog async client.
Trait Implementations§
Source§impl<F: SyslogFormatter + Send, D: AsyncSyslogDestination, IO: AsyncSyslogInternalIO> AsyncMutex<F, D, AsyncSyslogInternal<F, D, IO>> for Mutex<AsyncSyslogInternal<F, D, IO>>
impl<F: SyslogFormatter + Send, D: AsyncSyslogDestination, IO: AsyncSyslogInternalIO> AsyncMutex<F, D, AsyncSyslogInternal<F, D, IO>> for Mutex<AsyncSyslogInternal<F, D, IO>>
Source§type MutxGuard<'mux> = MutexGuard<'mux, AsyncSyslogInternal<F, D, IO>>
type MutxGuard<'mux> = MutexGuard<'mux, AsyncSyslogInternal<F, D, IO>>
A mutex guard type.
Source§fn a_new(v: AsyncSyslogInternal<F, D, IO>) -> Self
fn a_new(v: AsyncSyslogInternal<F, D, IO>) -> Self
Creates new mutex instance for type which implements the [AsyncSyslogApi].
Source§impl<'mux, F: SyslogFormatter + Send, D: AsyncSyslogDestination, IO: AsyncSyslogInternalIO> AsyncMutexGuard<'mux, F, D, AsyncSyslogInternal<F, D, IO>> for MutexGuard<'mux, AsyncSyslogInternal<F, D, IO>>
impl<'mux, F: SyslogFormatter + Send, D: AsyncSyslogDestination, IO: AsyncSyslogInternalIO> AsyncMutexGuard<'mux, F, D, AsyncSyslogInternal<F, D, IO>> for MutexGuard<'mux, AsyncSyslogInternal<F, D, IO>>
Source§fn guard(&self) -> &AsyncSyslogInternal<F, D, IO>
fn guard(&self) -> &AsyncSyslogInternal<F, D, IO>
Returns the reference to the inner type of the mutex guard.
Source§fn guard_mut(&mut self) -> &mut AsyncSyslogInternal<F, D, IO>
fn guard_mut(&mut self) -> &mut AsyncSyslogInternal<F, D, IO>
Returns the mutable reference to the inner type of the mutex guard.
Source§impl<F: Debug + SyslogFormatter + Send, D: Debug + AsyncSyslogDestination, IO: Debug + AsyncSyslogInternalIO> Debug for AsyncSyslogInternal<F, D, IO>
impl<F: Debug + SyslogFormatter + Send, D: Debug + AsyncSyslogDestination, IO: Debug + AsyncSyslogInternalIO> Debug for AsyncSyslogInternal<F, D, IO>
Auto Trait Implementations§
impl<F, D, IO> Freeze for AsyncSyslogInternal<F, D, IO>
impl<F, D, IO> RefUnwindSafe for AsyncSyslogInternal<F, D, IO>
impl<F, D, IO> Send for AsyncSyslogInternal<F, D, IO>
impl<F, D, IO> Sync for AsyncSyslogInternal<F, D, IO>
impl<F, D, IO> Unpin for AsyncSyslogInternal<F, D, IO>
impl<F, D, IO> UnwindSafe for AsyncSyslogInternal<F, D, IO>
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