Struct timely::logging::GuardedMessageEvent
source · pub struct GuardedMessageEvent {
pub is_start: bool,
}
Expand description
Application-defined code start or stop
Fields§
§is_start: bool
true
when activity begins, false
when it stops
Trait Implementations§
source§impl Clone for GuardedMessageEvent
impl Clone for GuardedMessageEvent
source§fn clone(&self) -> GuardedMessageEvent
fn clone(&self) -> GuardedMessageEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GuardedMessageEvent
impl Debug for GuardedMessageEvent
source§impl<'de> Deserialize<'de> for GuardedMessageEvent
impl<'de> Deserialize<'de> for GuardedMessageEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<GuardedMessageEvent> for TimelyEvent
impl From<GuardedMessageEvent> for TimelyEvent
source§fn from(v: GuardedMessageEvent) -> TimelyEvent
fn from(v: GuardedMessageEvent) -> TimelyEvent
Converts to this type from the input type.
source§impl Hash for GuardedMessageEvent
impl Hash for GuardedMessageEvent
source§impl Ord for GuardedMessageEvent
impl Ord for GuardedMessageEvent
source§fn cmp(&self, other: &GuardedMessageEvent) -> Ordering
fn cmp(&self, other: &GuardedMessageEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GuardedMessageEvent
impl PartialEq for GuardedMessageEvent
source§impl PartialOrd for GuardedMessageEvent
impl PartialOrd for GuardedMessageEvent
source§impl Serialize for GuardedMessageEvent
impl Serialize for GuardedMessageEvent
impl Eq for GuardedMessageEvent
impl StructuralPartialEq for GuardedMessageEvent
Auto Trait Implementations§
impl Freeze for GuardedMessageEvent
impl RefUnwindSafe for GuardedMessageEvent
impl Send for GuardedMessageEvent
impl Sync for GuardedMessageEvent
impl Unpin for GuardedMessageEvent
impl UnwindSafe for GuardedMessageEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)