pub struct BundleHandle { /* private fields */ }Expand description
Handle referencing a loaded bundle artifact.
Implementations§
Source§impl BundleHandle
impl BundleHandle
Sourcepub fn from_artifact(artifact: Arc<BundleArtifact>) -> Self
pub fn from_artifact(artifact: Arc<BundleArtifact>) -> Self
Creates a bundle handle from a shared artifact.
Sourcepub fn prepare_default_handler(&self) -> HandlerSession
pub fn prepare_default_handler(&self) -> HandlerSession
Returns a session prepared from the bundle’s descriptor template.
Sourcepub fn prepare_handler(
&self,
descriptor: Option<InvocationDescriptor>,
) -> HandlerSession
pub fn prepare_handler( &self, descriptor: Option<InvocationDescriptor>, ) -> HandlerSession
Builds a handler session using an optional descriptor override.
Trait Implementations§
Source§impl Clone for BundleHandle
impl Clone for BundleHandle
Source§fn clone(&self) -> BundleHandle
fn clone(&self) -> BundleHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BundleHandle
impl RefUnwindSafe for BundleHandle
impl Send for BundleHandle
impl Sync for BundleHandle
impl Unpin for BundleHandle
impl UnwindSafe for BundleHandle
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