Trait IFileLoggingSession_Impl
pub trait IFileLoggingSession_Impl: IClosable_Impl {
// Required methods
fn Name(&self) -> Result<HSTRING>;
fn AddLoggingChannel(
&self,
loggingChannel: Ref<'_, ILoggingChannel>,
) -> Result<()>;
fn AddLoggingChannelWithLevel(
&self,
loggingChannel: Ref<'_, ILoggingChannel>,
maxLevel: LoggingLevel,
) -> Result<()>;
fn RemoveLoggingChannel(
&self,
loggingChannel: Ref<'_, ILoggingChannel>,
) -> Result<()>;
fn CloseAndSaveToFileAsync(&self) -> Result<IAsyncOperation<StorageFile>>;
fn LogFileGenerated(
&self,
handler: Ref<'_, TypedEventHandler<IFileLoggingSession, LogFileGeneratedEventArgs>>,
) -> Result<i64>;
fn RemoveLogFileGenerated(&self, token: i64) -> Result<()>;
}
Required Methods§
fn Name(&self) -> Result<HSTRING>
fn AddLoggingChannel( &self, loggingChannel: Ref<'_, ILoggingChannel>, ) -> Result<()>
fn AddLoggingChannelWithLevel( &self, loggingChannel: Ref<'_, ILoggingChannel>, maxLevel: LoggingLevel, ) -> Result<()>
fn RemoveLoggingChannel( &self, loggingChannel: Ref<'_, ILoggingChannel>, ) -> Result<()>
fn CloseAndSaveToFileAsync(&self) -> Result<IAsyncOperation<StorageFile>>
fn LogFileGenerated( &self, handler: Ref<'_, TypedEventHandler<IFileLoggingSession, LogFileGeneratedEventArgs>>, ) -> Result<i64>
fn RemoveLogFileGenerated(&self, token: i64) -> 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.