pub trait SyslogType: Debug {
type LockItemsBase;
type LockItems;
type LockStreamBase<D: SyslogDestination>;
type LockStream<D: SyslogDestination>;
type MoveLockType;
// Required methods
fn wrap_items(items: Self::LockItemsBase) -> Self::LockItems;
fn wrap_stream<D: SyslogDestination>(
stream: Self::LockStreamBase<D>,
) -> Self::LockStream<D>;
}Required Associated Types§
type LockItemsBase
type LockItems
type LockStreamBase<D: SyslogDestination>
type LockStream<D: SyslogDestination>
type MoveLockType
Required Methods§
fn wrap_items(items: Self::LockItemsBase) -> Self::LockItems
fn wrap_stream<D: SyslogDestination>( stream: Self::LockStreamBase<D>, ) -> Self::LockStream<D>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".