pub enum NotificationHint {
Suppressed,
Notify,
}Expand description
Whether the peer should be notified after a publication operation.
Variants§
Suppressed
Notification is suppressed by current queue state.
Notify
The peer should be notified after the publication barrier.
Trait Implementations§
Source§impl Clone for NotificationHint
impl Clone for NotificationHint
Source§fn clone(&self) -> NotificationHint
fn clone(&self) -> NotificationHint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotificationHint
Source§impl Debug for NotificationHint
impl Debug for NotificationHint
impl Eq for NotificationHint
Source§impl PartialEq for NotificationHint
impl PartialEq for NotificationHint
Source§fn eq(&self, other: &NotificationHint) -> bool
fn eq(&self, other: &NotificationHint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotificationHint
Auto Trait Implementations§
impl Freeze for NotificationHint
impl RefUnwindSafe for NotificationHint
impl Send for NotificationHint
impl Sync for NotificationHint
impl Unpin for NotificationHint
impl UnsafeUnpin for NotificationHint
impl UnwindSafe for NotificationHint
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