[−][src]Enum toio::proto::Config
Message from/to configuration.
Variants
Version(ConfigVersion)
Requests protocol version.
Level(ConfigLevel)
Changes the settings of level detection.
Collision(ConfigCollision)
Changes the settings of collision detection.
DoubleTap(ConfigDoubleTap)
Changes the settings of double-tap detection.
VersionRes(ConfigVersionRes)
The protocol version information.
Implementations
impl Config
[src]
pub fn new_version(f0: ConfigVersion) -> Self
[src]
Constructs a new Config::Version
.
impl Config
[src]
pub fn new_level(f0: ConfigLevel) -> Self
[src]
Constructs a new Config::Level
.
impl Config
[src]
pub fn new_collision(f0: ConfigCollision) -> Self
[src]
Constructs a new Config::Collision
.
impl Config
[src]
pub fn new_double_tap(f0: ConfigDoubleTap) -> Self
[src]
Constructs a new Config::DoubleTap
.
impl Config
[src]
pub fn new_version_res(f0: ConfigVersionRes) -> Self
[src]
Constructs a new Config::VersionRes
.
Trait Implementations
impl Clone for Config
[src]
impl Debug for Config
[src]
impl Eq for Config
[src]
impl PartialEq<Config> for Config
[src]
impl StructuralEq for Config
[src]
impl StructuralPartialEq for Config
[src]
impl<'_> TryFrom<&'_ [u8]> for Config
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: &[u8]) -> Result<Self>
[src]
impl TryFrom<Config> for Vec<u8>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: Config) -> Result<Self>
[src]
impl TryFrom<Config> for (Uuid, Vec<u8>)
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: Config) -> Result<Self>
[src]
impl TryFrom<Vec<u8>> for Config
[src]
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,