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
Source§fn new(event_id: LogId, msg: Option<impl Into<LogMsg>>, origin: Origin) -> Self
fn new(event_id: LogId, msg: Option<impl Into<LogMsg>>, origin: Origin) -> Self
Creates a new
EventEntry. Read moreSource§fn into_event_id(self) -> LogId
fn into_event_id(self) -> LogId
Source§fn get_entry_id(&self) -> Uuid
fn get_entry_id(&self) -> Uuid
Get the entry-ID that was generated when the event was set. Read more
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) -> Self
fn from(intermed_event: IntermediaryLogEvent) -> Self
Converts to this type from the input type.
Source§impl IntermediaryEvent<LogId, LogMsg, LogEventEntry> for IntermediaryLogEvent
impl IntermediaryEvent<LogId, LogMsg, LogEventEntry> for IntermediaryLogEvent
Source§fn new(event_id: LogId, msg: Option<impl Into<LogMsg>>, origin: Origin) -> Self
fn new(event_id: LogId, msg: Option<impl Into<LogMsg>>, origin: Origin) -> Self
Create a new
IntermediaryEvent. Read moreSource§fn get_entry(&self) -> &LogEventEntry
fn get_entry(&self) -> &LogEventEntry
Returns the
EventEntry that was created by this IntermediaryEvent.Source§fn take_entry(&mut self) -> LogEventEntry
fn take_entry(&mut self) -> LogEventEntry
Takes the
EventEntry that was created by this IntermediaryEvent.Source§fn get_event_id(&self) -> &K
fn get_event_id(&self) -> &K
Returns the
Id of this eventSource§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 moreSource§fn into_event_id(self) -> K
fn into_event_id(self) -> K
Converts this
IntermediaryEvent into the related event Id.Source§impl PartialEq<LogId> for LogIdFilter
impl PartialEq<LogId> for LogIdFilter
impl Copy for LogId
impl Eq for LogId
impl Id for LogId
impl StructuralPartialEq for LogId
Auto Trait Implementations§
impl Freeze for LogId
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