pub struct Simple {
pub alpha: f64,
pub delay_budget: i64,
pub intercept: u16,
pub sample_interval: i64,
pub variance_threshold: f64,
}Fields§
§alpha: f64§delay_budget: i64§intercept: u16§sample_interval: i64§variance_threshold: f64Trait Implementations§
impl Copy for Simple
Source§impl<___E> Encode<Simple, ___E> for Simplewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Simple, ___E> for Simplewhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<'a, ___E> Encode<Simple, ___E> for &'a Simplewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Simple, ___E> for &'a Simplewhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> EncodeOption<Box<'static, Simple>, ___E> for Simple
impl<___E> EncodeOption<Box<'static, Simple>, ___E> for Simple
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, Simple>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, Simple>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'a, ___E> EncodeOption<Box<'static, Simple>, ___E> for &'a Simple
impl<'a, ___E> EncodeOption<Box<'static, Simple>, ___E> for &'a Simple
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, Simple>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, Simple>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWireRef<Simple> for Simple
impl FromWireRef<Simple> for Simple
Source§fn from_wire_ref(wire: &Simple) -> Self
fn from_wire_ref(wire: &Simple) -> Self
Converts the given reference to this type.
Source§impl PartialOrd for Simple
impl PartialOrd for Simple
impl StructuralPartialEq for Simple
Auto Trait Implementations§
impl Freeze for Simple
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnsafeUnpin for Simple
impl UnwindSafe for Simple
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]