#[non_exhaustive]pub enum HistoryEndpointPolicy {
Reject,
Clamp,
}Expand description
Treatment of valid queries outside retained samples. Neither policy extrapolates.
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 HistoryEndpointPolicy
impl Clone for HistoryEndpointPolicy
Source§fn clone(&self) -> HistoryEndpointPolicy
fn clone(&self) -> HistoryEndpointPolicy
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 HistoryEndpointPolicy
impl Debug for HistoryEndpointPolicy
Source§impl Default for HistoryEndpointPolicy
impl Default for HistoryEndpointPolicy
Source§fn default() -> HistoryEndpointPolicy
fn default() -> HistoryEndpointPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for HistoryEndpointPolicy
impl PartialEq for HistoryEndpointPolicy
impl Copy for HistoryEndpointPolicy
impl Eq for HistoryEndpointPolicy
impl StructuralPartialEq for HistoryEndpointPolicy
Auto Trait Implementations§
impl Freeze for HistoryEndpointPolicy
impl RefUnwindSafe for HistoryEndpointPolicy
impl Send for HistoryEndpointPolicy
impl Sync for HistoryEndpointPolicy
impl Unpin for HistoryEndpointPolicy
impl UnwindSafe for HistoryEndpointPolicy
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