[−][src]Enum toio::proto::Motion
Message from the motion sensor.
Variants
Detect(MotionDetect)
The state of the motion sensor.
Implementations
impl Motion
[src]
pub fn new_detect(f0: MotionDetect) -> Self
[src]
Constructs a new Motion::Detect
.
Trait Implementations
impl Clone for Motion
[src]
impl Debug for Motion
[src]
impl Eq for Motion
[src]
impl PartialEq<Motion> for Motion
[src]
impl StructuralEq for Motion
[src]
impl StructuralPartialEq for Motion
[src]
impl<'_> TryFrom<&'_ [u8]> for Motion
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: &[u8]) -> Result<Self>
[src]
impl TryFrom<Motion> for Vec<u8>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: Motion) -> Result<Self>
[src]
impl TryFrom<Motion> for (Uuid, Vec<u8>)
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: Motion) -> Result<Self>
[src]
impl TryFrom<Vec<u8>> for Motion
[src]
Auto Trait Implementations
impl RefUnwindSafe for Motion
impl Send for Motion
impl Sync for Motion
impl Unpin for Motion
impl UnwindSafe for Motion
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>,