pub struct DaemonConfig {
pub input_idle_secs: u64,
pub idle_exit_secs: u64,
pub screen_video: bool,
pub restart_accessibility: bool,
}Fields§
§input_idle_secs: u64Close the touch-input media session after this many idle seconds. 0 closes it at the end of every command.
idle_exit_secs: u64Exit the daemon after this many idle seconds.
screen_video: boolAlso take the screen video while an input session is open. Touches count without it, so it is off: the video is megabits a second through the same tunnel as everything else.
restart_accessibility: boolWhen the phone’s accessibility daemon stops answering, end it so the phone starts a new one, and read again.
Trait Implementations§
Source§impl Clone for DaemonConfig
impl Clone for DaemonConfig
Source§impl Debug for DaemonConfig
impl Debug for DaemonConfig
Source§impl Default for DaemonConfig
impl Default for DaemonConfig
Source§impl<'de> Deserialize<'de> for DaemonConfigwhere
DaemonConfig: Default,
impl<'de> Deserialize<'de> for DaemonConfigwhere
DaemonConfig: Default,
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 Forget for DaemonConfig
impl Freeze for DaemonConfig
impl Move for DaemonConfig
impl RefUnwindSafe for DaemonConfig
impl Send for DaemonConfig
impl Sync for DaemonConfig
impl Unpin for DaemonConfig
impl UnsafeUnpin for DaemonConfig
impl UnwindSafe for DaemonConfig
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