Skip to main content

SyslogType

Trait SyslogType 

Source
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§

Required Methods§

Source

fn wrap_items(items: Self::LockItemsBase) -> Self::LockItems

Source

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".

Implementors§