#[non_exhaustive]pub enum FollowUpMode {
All,
OneAtATime,
}Expand description
Controls how follow-up messages are drained from the queue.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FollowUpMode
impl Clone for FollowUpMode
Source§fn clone(&self) -> FollowUpMode
fn clone(&self) -> FollowUpMode
Returns a duplicate 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 FollowUpMode
impl Debug for FollowUpMode
Source§impl Default for FollowUpMode
impl Default for FollowUpMode
Source§fn default() -> FollowUpMode
fn default() -> FollowUpMode
Returns the “default value” for a type. Read more
Source§impl From<FollowUpMode> for FollowUpModeConfig
impl From<FollowUpMode> for FollowUpModeConfig
Source§fn from(m: FollowUpMode) -> Self
fn from(m: FollowUpMode) -> Self
Converts to this type from the input type.
Source§impl From<FollowUpModeConfig> for FollowUpMode
impl From<FollowUpModeConfig> for FollowUpMode
Source§fn from(m: FollowUpModeConfig) -> Self
fn from(m: FollowUpModeConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FollowUpMode
impl PartialEq for FollowUpMode
impl Copy for FollowUpMode
impl Eq for FollowUpMode
impl StructuralPartialEq for FollowUpMode
Auto Trait Implementations§
impl Freeze for FollowUpMode
impl RefUnwindSafe for FollowUpMode
impl Send for FollowUpMode
impl Sync for FollowUpMode
impl Unpin for FollowUpMode
impl UnsafeUnpin for FollowUpMode
impl UnwindSafe for FollowUpMode
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