pub enum NotMeasurable {
OnlyOneSide,
NotPositive,
}Expand description
Why a measurement cannot become a profile.
Variants§
OnlyOneSide
One side was measured and the other was not.
The fraction is a RATIO of the two, so one number alone implies
nothing about the split – and a profile carrying it would be
consulted by policy_for as though it did.
NotPositive
A bandwidth came back at or below zero, which is a failed measurement rather than an infinitely slow link.
Trait Implementations§
Source§impl Clone for NotMeasurable
impl Clone for NotMeasurable
Source§fn clone(&self) -> NotMeasurable
fn clone(&self) -> NotMeasurable
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 moreSource§impl Debug for NotMeasurable
impl Debug for NotMeasurable
Source§impl Display for NotMeasurable
impl Display for NotMeasurable
impl Eq for NotMeasurable
Source§impl Error for NotMeasurable
impl Error for NotMeasurable
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NotMeasurable
impl PartialEq for NotMeasurable
impl StructuralPartialEq for NotMeasurable
Auto Trait Implementations§
impl Freeze for NotMeasurable
impl RefUnwindSafe for NotMeasurable
impl Send for NotMeasurable
impl Sync for NotMeasurable
impl Unpin for NotMeasurable
impl UnsafeUnpin for NotMeasurable
impl UnwindSafe for NotMeasurable
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more