pub enum SpeculativeRetry {
None,
Always,
Percentile(f32),
Custom(LitStr),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SpeculativeRetry
impl Clone for SpeculativeRetry
Source§fn clone(&self) -> SpeculativeRetry
fn clone(&self) -> SpeculativeRetry
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for SpeculativeRetry
impl<'a> CustomToTokens<'a> for SpeculativeRetry
Source§impl Debug for SpeculativeRetry
impl Debug for SpeculativeRetry
Source§impl Default for SpeculativeRetry
impl Default for SpeculativeRetry
Source§impl Display for SpeculativeRetry
impl Display for SpeculativeRetry
Source§impl FromStr for SpeculativeRetry
impl FromStr for SpeculativeRetry
Source§impl Parse for SpeculativeRetry
impl Parse for SpeculativeRetry
type Output = SpeculativeRetry
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for SpeculativeRetry
impl PartialEq for SpeculativeRetry
Source§impl ToTokens for SpeculativeRetry
impl ToTokens for SpeculativeRetry
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl StructuralPartialEq for SpeculativeRetry
Auto Trait Implementations§
impl Freeze for SpeculativeRetry
impl RefUnwindSafe for SpeculativeRetry
impl Send for SpeculativeRetry
impl Sync for SpeculativeRetry
impl Unpin for SpeculativeRetry
impl UnwindSafe for SpeculativeRetry
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