pub struct JsonFutureLog {
pub id: u32,
pub future_id: u32,
pub state: String,
pub poll_count: u64,
pub total_poll_duration_ns: u64,
pub max_poll_duration_ns: u64,
pub last_poll_duration_ns: u64,
pub total_poll_alloc_bytes: Option<u64>,
pub total_poll_alloc_count: Option<u64>,
pub max_poll_alloc_bytes: Option<u64>,
pub last_poll_alloc_bytes: Option<u64>,
pub result: Option<String>,
}Fields§
§id: u32§future_id: u32§state: String§poll_count: u64§total_poll_duration_ns: u64§max_poll_duration_ns: u64§last_poll_duration_ns: u64§total_poll_alloc_bytes: Option<u64>§total_poll_alloc_count: Option<u64>§max_poll_alloc_bytes: Option<u64>§last_poll_alloc_bytes: Option<u64>§result: Option<String>Trait Implementations§
Source§impl Clone for JsonFutureLog
impl Clone for JsonFutureLog
Source§fn clone(&self) -> JsonFutureLog
fn clone(&self) -> JsonFutureLog
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 JsonFutureLog
impl Debug for JsonFutureLog
Source§impl<'de> Deserialize<'de> for JsonFutureLog
impl<'de> Deserialize<'de> for JsonFutureLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JsonFutureLog
impl RefUnwindSafe for JsonFutureLog
impl Send for JsonFutureLog
impl Sync for JsonFutureLog
impl Unpin for JsonFutureLog
impl UnsafeUnpin for JsonFutureLog
impl UnwindSafe for JsonFutureLog
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