pub struct GrabberConfig {
pub servers: Vec<SocketAddr>,
pub max_ping_ms: u64,
pub mouse_interval_ms: u64,
pub keyboard_and_clicks_interval_ms: u64,
}Fields§
§servers: Vec<SocketAddr>§max_ping_ms: u64§mouse_interval_ms: u64§keyboard_and_clicks_interval_ms: u64Implementations§
Source§impl GrabberConfig
impl GrabberConfig
pub fn load() -> GrabberConfig
Trait Implementations§
Source§impl Clone for GrabberConfig
impl Clone for GrabberConfig
Source§fn clone(&self) -> GrabberConfig
fn clone(&self) -> GrabberConfig
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 GrabberConfig
impl Debug for GrabberConfig
Source§impl<'de> Deserialize<'de> for GrabberConfig
impl<'de> Deserialize<'de> for GrabberConfig
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 GrabberConfig
impl RefUnwindSafe for GrabberConfig
impl Send for GrabberConfig
impl Sync for GrabberConfig
impl Unpin for GrabberConfig
impl UnwindSafe for GrabberConfig
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