pub struct DoctorReport {Show 21 fields
pub healthy: bool,
pub data_dir_exists: bool,
pub database_exists: bool,
pub index_exists: bool,
pub socket_exists: bool,
pub socket_reachable: bool,
pub stale_socket: bool,
pub daemon_running: bool,
pub daemon_pid: Option<u32>,
pub index_lock_held: bool,
pub index_lock_error: Option<String>,
pub database_path: String,
pub database_size_bytes: u64,
pub index_path: String,
pub index_size_bytes: u64,
pub log_path: String,
pub log_size_bytes: u64,
pub sync_statuses: Vec<AccountSyncStatus>,
pub recent_sync_events: Vec<EventLogEntry>,
pub recent_error_logs: Vec<String>,
pub recommended_next_steps: Vec<String>,
}Fields§
§healthy: bool§data_dir_exists: bool§database_exists: bool§index_exists: bool§socket_exists: bool§socket_reachable: bool§stale_socket: bool§daemon_running: bool§daemon_pid: Option<u32>§index_lock_held: bool§index_lock_error: Option<String>§database_path: String§database_size_bytes: u64§index_path: String§index_size_bytes: u64§log_path: String§log_size_bytes: u64§sync_statuses: Vec<AccountSyncStatus>§recent_sync_events: Vec<EventLogEntry>§recent_error_logs: Vec<String>§recommended_next_steps: Vec<String>Trait Implementations§
Source§impl Clone for DoctorReport
impl Clone for DoctorReport
Source§fn clone(&self) -> DoctorReport
fn clone(&self) -> DoctorReport
Returns a duplicate of the value. Read more
1.0.0 · 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 DoctorReport
impl Debug for DoctorReport
Source§impl<'de> Deserialize<'de> for DoctorReport
impl<'de> Deserialize<'de> for DoctorReport
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 DoctorReport
impl RefUnwindSafe for DoctorReport
impl Send for DoctorReport
impl Sync for DoctorReport
impl Unpin for DoctorReport
impl UnsafeUnpin for DoctorReport
impl UnwindSafe for DoctorReport
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