Skip to main content

SetDebugWriterCapability

Trait SetDebugWriterCapability 

Source
pub unsafe trait SetDebugWriterCapability { }
Expand description

The SetDebugWriterCapability allows the holder to set the debug writer mechanism in the kernel.

The debug writer is held by the kernel to enable the debug!() macro. The debug writer mechanism has access to debugging print messages which may contain information about the operation of the kernel.

§Safety

Capabilities can only be created in trusted crates that can use unsafe.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§