pub enum ConformalSmallSamplePolicy {
Error,
Unbounded,
}Expand description
Behavior when ceil((n + 1) * coverage) exceeds n.
Variants§
Error
Refuse calibration because no finite order statistic exists.
Unbounded
Emit a tagged unbounded radius; never synthesize an infinite sentinel.
Trait Implementations§
Source§impl Clone for ConformalSmallSamplePolicy
impl Clone for ConformalSmallSamplePolicy
Source§fn clone(&self) -> ConformalSmallSamplePolicy
fn clone(&self) -> ConformalSmallSamplePolicy
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 ConformalSmallSamplePolicy
Source§impl Debug for ConformalSmallSamplePolicy
impl Debug for ConformalSmallSamplePolicy
Source§impl<'de> Deserialize<'de> for ConformalSmallSamplePolicy
impl<'de> Deserialize<'de> for ConformalSmallSamplePolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConformalSmallSamplePolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConformalSmallSamplePolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConformalSmallSamplePolicy
Source§impl Serialize for ConformalSmallSamplePolicy
impl Serialize for ConformalSmallSamplePolicy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConformalSmallSamplePolicy
Auto Trait Implementations§
impl Freeze for ConformalSmallSamplePolicy
impl RefUnwindSafe for ConformalSmallSamplePolicy
impl Send for ConformalSmallSamplePolicy
impl Sync for ConformalSmallSamplePolicy
impl Unpin for ConformalSmallSamplePolicy
impl UnsafeUnpin for ConformalSmallSamplePolicy
impl UnwindSafe for ConformalSmallSamplePolicy
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.