pub struct NT_EventFlags(/* private fields */);Expand description
Event notification flags.
Implementations§
Source§impl NT_EventFlags
impl NT_EventFlags
pub const NT_EVENT_NONE: NT_EventFlags = _
Sourcepub const NT_EVENT_IMMEDIATE: NT_EventFlags = _
pub const NT_EVENT_IMMEDIATE: NT_EventFlags = _
Initial listener addition.
Sourcepub const NT_EVENT_CONNECTED: NT_EventFlags = _
pub const NT_EVENT_CONNECTED: NT_EventFlags = _
Client connected (on server, any client connected).
Sourcepub const NT_EVENT_DISCONNECTED: NT_EventFlags = _
pub const NT_EVENT_DISCONNECTED: NT_EventFlags = _
Client disconnected (on server, any client disconnected).
Sourcepub const NT_EVENT_CONNECTION: NT_EventFlags = _
pub const NT_EVENT_CONNECTION: NT_EventFlags = _
Any connection event (connect or disconnect).
Sourcepub const NT_EVENT_PUBLISH: NT_EventFlags = _
pub const NT_EVENT_PUBLISH: NT_EventFlags = _
New topic published.
Sourcepub const NT_EVENT_UNPUBLISH: NT_EventFlags = _
pub const NT_EVENT_UNPUBLISH: NT_EventFlags = _
Topic unpublished.
Sourcepub const NT_EVENT_PROPERTIES: NT_EventFlags = _
pub const NT_EVENT_PROPERTIES: NT_EventFlags = _
Topic properties changed.
Sourcepub const NT_EVENT_TOPIC: NT_EventFlags = _
pub const NT_EVENT_TOPIC: NT_EventFlags = _
Any topic event (publish, unpublish, or properties changed).
Sourcepub const NT_EVENT_VALUE_REMOTE: NT_EventFlags = _
pub const NT_EVENT_VALUE_REMOTE: NT_EventFlags = _
Topic value updated (via network).
Sourcepub const NT_EVENT_VALUE_LOCAL: NT_EventFlags = _
pub const NT_EVENT_VALUE_LOCAL: NT_EventFlags = _
Topic value updated (local).
Sourcepub const NT_EVENT_VALUE_ALL: NT_EventFlags = _
pub const NT_EVENT_VALUE_ALL: NT_EventFlags = _
Topic value updated (network or local).
Sourcepub const NT_EVENT_LOGMESSAGE: NT_EventFlags = _
pub const NT_EVENT_LOGMESSAGE: NT_EventFlags = _
Log message.
Sourcepub const NT_EVENT_TIMESYNC: NT_EventFlags = _
pub const NT_EVENT_TIMESYNC: NT_EventFlags = _
Time synchronized with server.
pub fn bits(&self) -> u32
Trait Implementations§
Source§impl BitAnd for NT_EventFlags
impl BitAnd for NT_EventFlags
Source§impl BitAndAssign for NT_EventFlags
impl BitAndAssign for NT_EventFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for NT_EventFlags
impl BitOr for NT_EventFlags
Source§impl BitOrAssign for NT_EventFlags
impl BitOrAssign for NT_EventFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for NT_EventFlags
impl Clone for NT_EventFlags
Source§fn clone(&self) -> NT_EventFlags
fn clone(&self) -> NT_EventFlags
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 NT_EventFlags
impl Debug for NT_EventFlags
Source§impl Hash for NT_EventFlags
impl Hash for NT_EventFlags
Source§impl PartialEq for NT_EventFlags
impl PartialEq for NT_EventFlags
impl Copy for NT_EventFlags
impl Eq for NT_EventFlags
impl StructuralPartialEq for NT_EventFlags
Auto Trait Implementations§
impl Freeze for NT_EventFlags
impl RefUnwindSafe for NT_EventFlags
impl Send for NT_EventFlags
impl Sync for NT_EventFlags
impl Unpin for NT_EventFlags
impl UnwindSafe for NT_EventFlags
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