Struct janus_plugin::session::SessionWrapper [] [src]

pub struct SessionWrapper<T> {
    pub handle: *mut PluginSession,
    // some fields omitted
}

A wrapper for a Janus session. Contains a pointer to the Janus PluginSession (which is used to identify this session in the Janus FFI) and any Rust state associated with the session.

Fields

Methods

impl<T> SessionWrapper<T>
[src]

[src]

Allocates a boxed, reference-counted state wrapper associated with a Janus PluginSession (whose plugin_handle will then point to the contents of the box).

[src]

Retrieves and clones the reference-counted state wrapper associated with a Janus PluginSession.

Trait Implementations

impl<T: Debug> Debug for SessionWrapper<T>
[src]

[src]

Formats the value using the given formatter.

impl<T> Deref for SessionWrapper<T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T: Sync> Sync for SessionWrapper<T>
[src]

impl<T: Send> Send for SessionWrapper<T>
[src]