pub struct ConformEngine { /* private fields */ }Expand description
Conforming engine for proxy-to-original workflows.
Implementations§
Source§impl ConformEngine
impl ConformEngine
Sourcepub async fn new(db_path: impl AsRef<Path>) -> Result<Self>
pub async fn new(db_path: impl AsRef<Path>) -> Result<Self>
Create a new conform engine with the specified link database.
§Errors
Returns an error if the database cannot be opened.
Sourcepub async fn conform_from_edl(
&self,
edl_path: impl AsRef<Path>,
output: impl AsRef<Path>,
) -> Result<ConformResult>
pub async fn conform_from_edl( &self, edl_path: impl AsRef<Path>, output: impl AsRef<Path>, ) -> Result<ConformResult>
Sourcepub fn relink(&self, proxy_path: impl AsRef<Path>) -> Result<&Path>
pub fn relink(&self, proxy_path: impl AsRef<Path>) -> Result<&Path>
Relink a single proxy file to its original.
§Errors
Returns an error if no link exists for the proxy.
Sourcepub const fn link_manager(&self) -> &ProxyLinkManager
pub const fn link_manager(&self) -> &ProxyLinkManager
Get the link manager.
Auto Trait Implementations§
impl Freeze for ConformEngine
impl RefUnwindSafe for ConformEngine
impl Send for ConformEngine
impl Sync for ConformEngine
impl Unpin for ConformEngine
impl UnsafeUnpin for ConformEngine
impl UnwindSafe for ConformEngine
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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