pub struct SessionEvent {
pub session_id: String,
pub handle: SmartHandle<SPXEVENTHANDLE>,
}
Expand description
Base SpeechRecognizer event passed into callbacks set_session_started_cb and set_session_stopped_cb.
Fields
session_id: String
handle: SmartHandle<SPXEVENTHANDLE>
Implementations
sourceimpl SessionEvent
impl SessionEvent
pub fn from_handle(handle: SPXEVENTHANDLE) -> Result<SessionEvent>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl !Sync for SessionEvent
impl Unpin for SessionEvent
impl UnwindSafe for SessionEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more