Enum flowcore::model::lib_manifest::ImplementationLocator
source · pub enum ImplementationLocator {
Native(Arc<dyn Implementation>),
RelativePath(String),
}
Expand description
ImplementationLocator
describes where an implementation can be located.
Variants§
Native(Arc<dyn Implementation>)
A Native
- A reference to a trait object statically linked with the library
RelativePath(String)
A path indicating where the implementation file is located within the Library directory structure, relative to the lib root
Trait Implementations§
source§impl Clone for ImplementationLocator
impl Clone for ImplementationLocator
source§fn clone(&self) -> ImplementationLocator
fn clone(&self) -> ImplementationLocator
Returns a copy 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 moresource§impl<'de> Deserialize<'de> for ImplementationLocator
impl<'de> Deserialize<'de> for ImplementationLocator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ImplementationLocator
impl Send for ImplementationLocator
impl Sync for ImplementationLocator
impl Unpin for ImplementationLocator
impl !UnwindSafe for ImplementationLocator
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