pub struct LogId { /* private fields */ }
Implementations§
Trait Implementations§
source§impl CaptureControl for LogId
impl CaptureControl for LogId
source§impl EventEntry<LogId, LogMsg> for LogEventEntry
impl EventEntry<LogId, LogMsg> for LogEventEntry
fn new( event_id: LogId, msg: Option<impl Into<LogMsg>>, origin: Origin ) -> LogEventEntry
fn get_event_id(&self) -> &LogId
fn into_event_id(self) -> LogId
fn get_entry_id(&self) -> Uuid
source§fn get_msg(&self) -> Option<&LogMsg>
fn get_msg(&self) -> Option<&LogMsg>
Get the main message that was set when the event entry was created.
fn get_origin(&self) -> &Origin
source§impl Filter<LogId, LogMsg> for FilterConfig
impl Filter<LogId, LogMsg> for FilterConfig
source§fn allow_entry(&self, entry: &impl EventEntry<LogId, LogMsg>) -> bool
fn allow_entry(&self, entry: &impl EventEntry<LogId, LogMsg>) -> bool
Return
true
if the entry is allowed to be captured.source§impl Filter<LogId, LogMsg> for LogFilter
impl Filter<LogId, LogMsg> for LogFilter
source§fn allow_entry(&self, entry: &impl EventEntry<LogId, LogMsg>) -> bool
fn allow_entry(&self, entry: &impl EventEntry<LogId, LogMsg>) -> bool
Return
true
if the entry is allowed to be captured.source§impl From<IntermediaryLogEvent> for LogId
impl From<IntermediaryLogEvent> for LogId
source§fn from(intermed_event: IntermediaryLogEvent) -> LogId
fn from(intermed_event: IntermediaryLogEvent) -> LogId
Converts to this type from the input type.
source§impl IntermediaryEvent<LogId, LogMsg, LogEventEntry> for IntermediaryLogEvent
impl IntermediaryEvent<LogId, LogMsg, LogEventEntry> for IntermediaryLogEvent
fn new( event_id: LogId, msg: Option<impl Into<LogMsg>>, origin: Origin ) -> IntermediaryLogEvent
fn get_entry(&self) -> &LogEventEntry
fn take_entry(&mut self) -> LogEventEntry
§fn get_event_id(&self) -> &K
fn get_event_id(&self) -> &K
Returns the
Id
of this event§fn finalize(self) -> FinalizedEvent<K>
fn finalize(self) -> FinalizedEvent<K>
Finalizing the event sends it to the publisher, and returns the
FinalizedEvent
.
This struct includes the Id
used to set the event, and the id of the specific EventEntry
associated with this event. Read morefn into_event_id(self) -> K
source§impl PartialEq<LogId> for LogId
impl PartialEq<LogId> for LogId
source§impl PartialEq<LogId> for LogIdFilter
impl PartialEq<LogId> for LogIdFilter
impl Copy for LogId
impl Eq for LogId
impl Id for LogId
impl StructuralEq for LogId
impl StructuralPartialEq for LogId
Auto Trait Implementations§
impl RefUnwindSafe for LogId
impl Send for LogId
impl Sync for LogId
impl Unpin for LogId
impl UnwindSafe for LogId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more