Struct pyportus::Measurements [−][src]
pub struct Measurements { pub acked: u32, pub was_timeout: bool, pub sacked: u32, pub loss: u32, pub rtt: u32, pub inflight: u32, }
Fields
acked: u32
was_timeout: bool
sacked: u32
loss: u32
rtt: u32
inflight: u32
Trait Implementations
type Dict = PyClassDictSlot
type Dict = PyClassDictSlot
Specify this class has #[pyclass(dict)]
or not.
type WeakRef = PyClassWeakRefSlot
type WeakRef = PyClassWeakRefSlot
Specify this class has #[pyclass(weakref)]
or not.
type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
#[pyclass(extends=PyDict)]
, it’s PyDict
. Read more
#[pyclass(subclass)]
#[pyclass(extends=…)]
type ThreadChecker = ThreadCheckerStub<Measurements>
type ThreadChecker = ThreadCheckerStub<Measurements>
This handles following two situations: Read more
type AsRefTarget = PyCell<Self>
type AsRefTarget = PyCell<Self>
Utility type to make Py::as_ref work
PyTypeObject instance for this type.
Checks if object
is an instance of this type or a subclass of this type.
Checks if object
is an instance of this type.
Auto Trait Implementations
impl RefUnwindSafe for Measurements
impl Send for Measurements
impl Sync for Measurements
impl Unpin for Measurements
impl UnwindSafe for Measurements
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Returns the safe abstraction over the type object.