pub struct PluginSession {
pub host: PluginHost,
pub info: PluginInfo,
pub plugin: PluginRef,
}Expand description
A loaded plugin in its own host process, for inspection (plugin info, presets,
state) or for driving runs by hand.
Fields§
§host: PluginHost§info: PluginInfo§plugin: PluginRefImplementations§
Source§impl PluginSession
impl PluginSession
pub fn open(plugin: &PluginRef, watchdog: Duration) -> Result<PluginSession>
Sourcepub fn configure(&mut self, opts: &PluginOptions) -> Result<Vec<ParamValue>>
pub fn configure(&mut self, opts: &PluginOptions) -> Result<Vec<ParamValue>>
Apply state, then preset, then params; returns the explicit params’ values.
Auto Trait Implementations§
impl !Sync for PluginSession
impl Freeze for PluginSession
impl RefUnwindSafe for PluginSession
impl Send for PluginSession
impl Unpin for PluginSession
impl UnsafeUnpin for PluginSession
impl UnwindSafe for PluginSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more