pub enum PersistentThreadMode {
Auto,
Force,
Disable,
}Expand description
Caller-controlled persistent-thread dispatch policy.
Variants§
Auto
Use the persistent path when the backend advertises support.
Force
Require the persistent path; fail loudly if unavailable.
Disable
Never use the persistent path.
Trait Implementations§
Source§impl Clone for PersistentThreadMode
impl Clone for PersistentThreadMode
Source§fn clone(&self) -> PersistentThreadMode
fn clone(&self) -> PersistentThreadMode
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 PersistentThreadMode
Source§impl Debug for PersistentThreadMode
impl Debug for PersistentThreadMode
Source§impl Default for PersistentThreadMode
impl Default for PersistentThreadMode
Source§fn default() -> PersistentThreadMode
fn default() -> PersistentThreadMode
Returns the “default value” for a type. Read more
impl Eq for PersistentThreadMode
Source§impl PartialEq for PersistentThreadMode
impl PartialEq for PersistentThreadMode
Source§fn eq(&self, other: &PersistentThreadMode) -> bool
fn eq(&self, other: &PersistentThreadMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PersistentThreadMode
Auto Trait Implementations§
impl Freeze for PersistentThreadMode
impl RefUnwindSafe for PersistentThreadMode
impl Send for PersistentThreadMode
impl Sync for PersistentThreadMode
impl Unpin for PersistentThreadMode
impl UnsafeUnpin for PersistentThreadMode
impl UnwindSafe for PersistentThreadMode
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.