Struct cyfs_lib::OODStatus

source ·
pub struct OODStatus {
Show 18 fields pub network: OODNetworkType, pub first_ping: u64, pub first_success_ping: u64, pub last_success_ping: u64, pub last_ping: u64, pub last_ping_result: u16, pub ping_count: u32, pub ping_success_count: u64, pub cont_fail_count: u64, pub ping_avg_during: u64, pub ping_max_during: u64, pub ping_min_during: u64, pub ood_device_id: DeviceId, pub enable_sync: bool, pub device_root_state: ObjectId, pub device_root_state_revision: u64, pub zone_root_state: Option<ObjectId>, pub zone_root_state_revision: u64,
}

Fields

network: OODNetworkTypefirst_ping: u64first_success_ping: u64last_success_ping: u64last_ping: u64last_ping_result: u16ping_count: u32ping_success_count: u64cont_fail_count: u64ping_avg_during: u64ping_max_during: u64ping_min_during: u64ood_device_id: DeviceIdenable_sync: booldevice_root_state: ObjectIddevice_root_state_revision: u64zone_root_state: Option<ObjectId>zone_root_state_revision: u64

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.