pub trait GetSinkProp {
// Required method
fn prop(&self) -> &SinkProp;
}Expand description
Represents the getter for the SinkProp inside a sink.
This trait is not mandatory for a sink. It enables a blanket implementation,
where a sink that implements this trait will automatically get the
SinkPropAccess trait implemented, which eliminates a lot of boilerplate
code.
Required Methods§
Implementors§
impl GetSinkProp for AndroidSink
Available on Android and crate feature
native and crate feature android-ndk only.impl GetSinkProp for DedupSink
impl GetSinkProp for FileSink
impl GetSinkProp for JournaldSink
Available on Linux and crate feature
native and crate feature libsystemd only.impl GetSinkProp for RotatingFileSink
impl GetSinkProp for StdStreamSink
impl GetSinkProp for WinDebugSink
Available on Windows and crate feature
native only.