oa::runtime::LogComponent

Compact one-to-four-character diagnostic component tag.

StRust public API

Declaration

pub struct LogComponent { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn tag(self) -> String
fn clone(&self) -> LogComponent
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result
fn hash<__H: Hasher>(&self, state: &mut __H)
fn eq(&self, other: &LogComponent) -> bool

Associated Functions

pub fn new(tag: &str) -> Result<Self>

Public Method Documentation

pub fn tag( self ) -> String
No public source comment is attached to this declaration.
fn clone( &self ) -> LogComponent
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn fmt( &self, formatter: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn hash<__H: Hasher>( &self, state: &mut __H )
No public source comment is attached to this declaration.
fn eq( &self, other: &LogComponent ) -> bool
No public source comment is attached to this declaration.
pub fn new( tag: &str ) -> Result<Self>
No public source comment is attached to this declaration.