[−][src]Struct embedded_time::rate::KilobitsPerSecond
Bits/s × 1,000
Implementations
impl<T: TimeInt> KilobitsPerSecond<T>
[src]
Trait Implementations
impl<T: TimeInt, Rhs: Rate> Add<Rhs> for KilobitsPerSecond<T> where
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
[src]
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Rhs) -> Self::Output
[src]
See Add/Sub
impl<T: Clone + TimeInt> Clone for KilobitsPerSecond<T>
[src]
fn clone(&self) -> KilobitsPerSecond<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy + TimeInt> Copy for KilobitsPerSecond<T>
[src]
impl<T: Debug + TimeInt> Debug for KilobitsPerSecond<T>
[src]
impl<T: Default + TimeInt> Default for KilobitsPerSecond<T>
[src]
fn default() -> KilobitsPerSecond<T>
[src]
impl<T: TimeInt> Display for KilobitsPerSecond<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
See Formatting
impl<T: TimeInt> Div<T> for KilobitsPerSecond<T>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Self::Output
[src]
See Mul/Div
impl<T: Eq + TimeInt> Eq for KilobitsPerSecond<T>
[src]
impl<T: TimeInt> FixedPoint for KilobitsPerSecond<T>
[src]
type T = T
The integer (magnitude) type
const SCALING_FACTOR: Fraction
[src]
fn new(value: Self::T) -> Self
[src]
fn integer(&self) -> &Self::T
[src]
fn checked_mul(&self, rhs: &Self::T) -> Option<Self>
[src]
fn checked_div(&self, rhs: &Self::T) -> Option<Self>
[src]
fn min_value() -> Self::T
[src]
fn max_value() -> Self::T
[src]
impl<T: TimeInt> From<BitsPerSecond<T>> for KilobitsPerSecond<T>
[src]
fn from(small: BitsPerSecond<T>) -> Self
[src]
impl From<BitsPerSecond<u32>> for KilobitsPerSecond<u64>
[src]
fn from(small: BitsPerSecond<u32>) -> Self
[src]
impl<T: TimeInt> From<BytesPerSecond<T>> for KilobitsPerSecond<T>
[src]
fn from(small: BytesPerSecond<T>) -> Self
[src]
impl From<BytesPerSecond<u32>> for KilobitsPerSecond<u64>
[src]
fn from(small: BytesPerSecond<u32>) -> Self
[src]
impl<T: TimeInt> From<KilobitsPerSecond<T>> for Generic<T>
[src]
fn from(rate: KilobitsPerSecond<T>) -> Self
[src]
impl<T: TimeInt> From<KilobitsPerSecond<T>> for MegabytesPerSecond<T>
[src]
fn from(small: KilobitsPerSecond<T>) -> Self
[src]
impl<T: TimeInt> From<KilobitsPerSecond<T>> for MegabitsPerSecond<T>
[src]
fn from(small: KilobitsPerSecond<T>) -> Self
[src]
impl<T: TimeInt> From<KilobitsPerSecond<T>> for KilobytesPerSecond<T>
[src]
fn from(small: KilobitsPerSecond<T>) -> Self
[src]
impl From<KilobitsPerSecond<u32>> for MegabytesPerSecond<u64>
[src]
fn from(small: KilobitsPerSecond<u32>) -> Self
[src]
impl From<KilobitsPerSecond<u32>> for MegabitsPerSecond<u64>
[src]
fn from(small: KilobitsPerSecond<u32>) -> Self
[src]
impl From<KilobitsPerSecond<u32>> for KilobytesPerSecond<u64>
[src]
fn from(small: KilobitsPerSecond<u32>) -> Self
[src]
impl From<KilobitsPerSecond<u32>> for KilobitsPerSecond<u64>
[src]
fn from(source: KilobitsPerSecond<u32>) -> Self
[src]
impl From<KilobitsPerSecond<u32>> for BytesPerSecond<u64>
[src]
fn from(big: KilobitsPerSecond<u32>) -> Self
[src]
impl From<KilobitsPerSecond<u32>> for BitsPerSecond<u64>
[src]
fn from(big: KilobitsPerSecond<u32>) -> Self
[src]
impl From<KilobytesPerSecond<u32>> for KilobitsPerSecond<u64>
[src]
fn from(big: KilobytesPerSecond<u32>) -> Self
[src]
impl From<MegabitsPerSecond<u32>> for KilobitsPerSecond<u64>
[src]
fn from(big: MegabitsPerSecond<u32>) -> Self
[src]
impl From<MegabytesPerSecond<u32>> for KilobitsPerSecond<u64>
[src]
fn from(big: MegabytesPerSecond<u32>) -> Self
[src]
impl<T: Hash + TimeInt> Hash for KilobitsPerSecond<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: TimeInt> Mul<T> for KilobitsPerSecond<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Self::Output
[src]
See Mul/Div
impl<T: Ord + TimeInt> Ord for KilobitsPerSecond<T>
[src]
fn cmp(&self, other: &KilobitsPerSecond<T>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<BitsPerSecond<RhsInt>> for KilobitsPerSecond<T> where
BitsPerSecond<RhsInt>: PartialEq<KilobitsPerSecond<T>>,
[src]
BitsPerSecond<RhsInt>: PartialEq<KilobitsPerSecond<T>>,
fn eq(&self, rhs: &BitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<BytesPerSecond<RhsInt>> for KilobitsPerSecond<T> where
BytesPerSecond<RhsInt>: PartialEq<KilobitsPerSecond<T>>,
[src]
BytesPerSecond<RhsInt>: PartialEq<KilobitsPerSecond<T>>,
fn eq(&self, rhs: &BytesPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KilobitsPerSecond<RhsInt>> for MegabytesPerSecond<T> where
KilobitsPerSecond<RhsInt>: PartialEq<MegabytesPerSecond<T>>,
[src]
KilobitsPerSecond<RhsInt>: PartialEq<MegabytesPerSecond<T>>,
fn eq(&self, rhs: &KilobitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KilobitsPerSecond<RhsInt>> for MegabitsPerSecond<T> where
KilobitsPerSecond<RhsInt>: PartialEq<MegabitsPerSecond<T>>,
[src]
KilobitsPerSecond<RhsInt>: PartialEq<MegabitsPerSecond<T>>,
fn eq(&self, rhs: &KilobitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KilobitsPerSecond<RhsInt>> for KilobytesPerSecond<T> where
KilobitsPerSecond<RhsInt>: PartialEq<KilobytesPerSecond<T>>,
[src]
KilobitsPerSecond<RhsInt>: PartialEq<KilobytesPerSecond<T>>,
fn eq(&self, rhs: &KilobitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KilobitsPerSecond<RhsInt>> for KilobitsPerSecond<T> where
T: TryFrom<RhsInt>,
[src]
T: TryFrom<RhsInt>,
fn eq(&self, rhs: &KilobitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KilobitsPerSecond<RhsInt>> for BytesPerSecond<T> where
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
[src]
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
fn eq(&self, rhs: &KilobitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KilobitsPerSecond<RhsInt>> for BitsPerSecond<T> where
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
[src]
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
fn eq(&self, rhs: &KilobitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KilobytesPerSecond<RhsInt>> for KilobitsPerSecond<T> where
Self: TryFrom<KilobytesPerSecond<RhsInt>>,
[src]
Self: TryFrom<KilobytesPerSecond<RhsInt>>,
fn eq(&self, rhs: &KilobytesPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<MegabitsPerSecond<RhsInt>> for KilobitsPerSecond<T> where
Self: TryFrom<MegabitsPerSecond<RhsInt>>,
[src]
Self: TryFrom<MegabitsPerSecond<RhsInt>>,
fn eq(&self, rhs: &MegabitsPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<MegabytesPerSecond<RhsInt>> for KilobitsPerSecond<T> where
Self: TryFrom<MegabytesPerSecond<RhsInt>>,
[src]
Self: TryFrom<MegabytesPerSecond<RhsInt>>,
fn eq(&self, rhs: &MegabytesPerSecond<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<BitsPerSecond<RhsInt>> for KilobitsPerSecond<T> where
BitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
BitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
fn partial_cmp(&self, rhs: &BitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<BytesPerSecond<RhsInt>> for KilobitsPerSecond<T> where
BytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
BytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
fn partial_cmp(&self, rhs: &BytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KilobitsPerSecond<RhsInt>> for MegabytesPerSecond<T> where
KilobitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
KilobitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
fn partial_cmp(&self, rhs: &KilobitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KilobitsPerSecond<RhsInt>> for MegabitsPerSecond<T> where
KilobitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
KilobitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
fn partial_cmp(&self, rhs: &KilobitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KilobitsPerSecond<RhsInt>> for KilobytesPerSecond<T> where
KilobitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
KilobitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
fn partial_cmp(&self, rhs: &KilobitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KilobitsPerSecond<RhsInt>> for KilobitsPerSecond<T> where
T: TryFrom<RhsInt>,
[src]
T: TryFrom<RhsInt>,
fn partial_cmp(&self, rhs: &KilobitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KilobitsPerSecond<RhsInt>> for BytesPerSecond<T> where
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
[src]
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
fn partial_cmp(&self, rhs: &KilobitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KilobitsPerSecond<RhsInt>> for BitsPerSecond<T> where
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
[src]
Self: TryFrom<KilobitsPerSecond<RhsInt>>,
fn partial_cmp(&self, rhs: &KilobitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KilobytesPerSecond<RhsInt>> for KilobitsPerSecond<T> where
Self: TryFrom<KilobytesPerSecond<RhsInt>>,
[src]
Self: TryFrom<KilobytesPerSecond<RhsInt>>,
fn partial_cmp(&self, rhs: &KilobytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<MegabitsPerSecond<RhsInt>> for KilobitsPerSecond<T> where
Self: TryFrom<MegabitsPerSecond<RhsInt>>,
[src]
Self: TryFrom<MegabitsPerSecond<RhsInt>>,
fn partial_cmp(&self, rhs: &MegabitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<MegabytesPerSecond<RhsInt>> for KilobitsPerSecond<T> where
Self: TryFrom<MegabytesPerSecond<RhsInt>>,
[src]
Self: TryFrom<MegabytesPerSecond<RhsInt>>,
fn partial_cmp(&self, rhs: &MegabytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt> Rate for KilobitsPerSecond<T>
[src]
fn to_generic<DestInt: TimeInt>(
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
[src]
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
fn to_duration<Duration: Duration>(&self) -> Result<Duration, ConversionError> where
Duration: FixedPoint,
Self: FixedPoint,
Duration::T: TryFrom<Self::T>,
[src]
Duration: FixedPoint,
Self: FixedPoint,
Duration::T: TryFrom<Self::T>,
impl<T: TimeInt, Rhs: Rate> Rem<Rhs> for KilobitsPerSecond<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: Rhs) -> Self::Output
[src]
See Remainder
impl<T: TimeInt> StructuralEq for KilobitsPerSecond<T>
[src]
impl<T: TimeInt, Rhs: Rate> Sub<Rhs> for KilobitsPerSecond<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Rhs) -> Self::Output
[src]
See Add/Sub
impl TryFrom<BitsPerSecond<u64>> for KilobitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: BitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<BytesPerSecond<u64>> for KilobitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: BytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl<SourceInt: TimeInt, DestInt: TimeInt> TryFrom<Generic<SourceInt>> for KilobitsPerSecond<DestInt> where
DestInt: TryFrom<SourceInt>,
[src]
DestInt: TryFrom<SourceInt>,
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(generic_rate: Generic<SourceInt>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<KilobitsPerSecond<T>> for BytesPerSecond<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: KilobitsPerSecond<T>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<KilobitsPerSecond<T>> for BitsPerSecond<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: KilobitsPerSecond<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<KilobitsPerSecond<u64>> for MegabytesPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: KilobitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<KilobitsPerSecond<u64>> for MegabitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: KilobitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<KilobitsPerSecond<u64>> for KilobytesPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: KilobitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<KilobitsPerSecond<u64>> for KilobitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(source: KilobitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<KilobitsPerSecond<u64>> for BytesPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: KilobitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<KilobitsPerSecond<u64>> for BitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: KilobitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<KilobytesPerSecond<T>> for KilobitsPerSecond<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: KilobytesPerSecond<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<KilobytesPerSecond<u64>> for KilobitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: KilobytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<MegabitsPerSecond<T>> for KilobitsPerSecond<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: MegabitsPerSecond<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<MegabitsPerSecond<u64>> for KilobitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: MegabitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<MegabytesPerSecond<T>> for KilobitsPerSecond<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: MegabytesPerSecond<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<MegabytesPerSecond<u64>> for KilobitsPerSecond<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: MegabytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl<T> Send for KilobitsPerSecond<T> where
T: Send,
T: Send,
impl<T> Sync for KilobitsPerSecond<T> where
T: Sync,
T: Sync,
impl<T> Unpin for KilobitsPerSecond<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,