[][src]Enum ovrt_sys::cmd::Command

pub enum Command {
    Callback(Callback),
    Event(Event),
    EventResponse(EventResponse),
    Notification(Notification),
}

Variants

Callback(Callback)
Event(Event)

Events are pre-registered functions by ovrt-sys in which ovrt calls at anytime.

Those events are not responses of calls made by ovrt-sys, and thus they are not related to Callbacks nor Notifications.

See EventResponse for another kind of events.

EventResponse(EventResponse)

EventResponse are pre-registered functions by ovrt-sys in which ovrt calls when some query/job has finished.

Those events are responses of calls made by ovrt-sys, and thus they are related to Notifications, or possibly even Callbacks.

See Event for another kind of events.

Notification(Notification)

Trait Implementations

impl Clone for Command[src]

impl Debug for Command[src]

impl PartialEq<Command> for Command[src]

impl PartialOrd<Command> for Command[src]

impl StructuralPartialEq for Command[src]

Auto Trait Implementations

impl RefUnwindSafe for Command

impl Send for Command

impl Sync for Command

impl Unpin for Command

impl UnwindSafe for Command

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.