Trait ILoggingSession_Impl
pub trait ILoggingSession_Impl: IClosable_Impl {
// Required methods
fn Name(&self) -> Result<HSTRING>;
fn SaveToFileAsync(
&self,
folder: Ref<'_, IStorageFolder>,
fileName: &HSTRING,
) -> Result<IAsyncOperation<StorageFile>>;
fn AddLoggingChannel(
&self,
loggingChannel: Ref<'_, ILoggingChannel>,
) -> Result<()>;
fn AddLoggingChannelWithLevel(
&self,
loggingChannel: Ref<'_, ILoggingChannel>,
maxLevel: LoggingLevel,
) -> Result<()>;
fn RemoveLoggingChannel(
&self,
loggingChannel: Ref<'_, ILoggingChannel>,
) -> Result<()>;
}
Required Methods§
fn Name(&self) -> Result<HSTRING>
fn SaveToFileAsync( &self, folder: Ref<'_, IStorageFolder>, fileName: &HSTRING, ) -> Result<IAsyncOperation<StorageFile>>
fn AddLoggingChannel( &self, loggingChannel: Ref<'_, ILoggingChannel>, ) -> Result<()>
fn AddLoggingChannelWithLevel( &self, loggingChannel: Ref<'_, ILoggingChannel>, maxLevel: LoggingLevel, ) -> Result<()>
fn RemoveLoggingChannel( &self, loggingChannel: Ref<'_, ILoggingChannel>, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.