Struct janus_plugin::PluginResult
[−]
[src]
pub struct PluginResult { /* fields omitted */ }
A Janus plugin result; what a plugin returns to the gateway as a direct response to a signalling message.
Methods
impl PluginResult
[src]
fn new(
type_: PluginResultType,
text: *const c_char,
content: Option<JanssonValue>
) -> Self
[src]
type_: PluginResultType,
text: *const c_char,
content: Option<JanssonValue>
) -> Self
Creates a new plugin result.
fn into_raw(self) -> *mut RawPluginResult
[src]
Transfers ownership of this result to the wrapped raw pointer. The consumer is responsible for calling janus_plugin_result_destroy on the pointer when finished.
Trait Implementations
impl Debug for PluginResult
[src]
impl Deref for PluginResult
[src]
type Target = RawPluginResult
The resulting type after dereferencing.
fn deref(&self) -> &RawPluginResult
[src]
Dereferences the value.