pub struct RepoctlEngine { /* private fields */ }Expand description
Default engine wiring for phase 0-3 repoctl behavior.
Implementations§
Source§impl RepoctlEngine
impl RepoctlEngine
Sourcepub fn with_default_adapters() -> Self
pub fn with_default_adapters() -> Self
Creates an engine with local filesystem, YAML parsing, graph, and policy adapters.
Sourcepub fn discovery(&self) -> &DiscoveryService
pub fn discovery(&self) -> &DiscoveryService
Returns the discovery service.
Sourcepub fn policies(&self) -> &PolicyEngine
pub fn policies(&self) -> &PolicyEngine
Returns the policy engine.
Trait Implementations§
Source§impl Clone for RepoctlEngine
impl Clone for RepoctlEngine
Source§fn clone(&self) -> RepoctlEngine
fn clone(&self) -> RepoctlEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RepoctlEngine
impl Debug for RepoctlEngine
Source§impl Default for RepoctlEngine
impl Default for RepoctlEngine
Source§fn default() -> RepoctlEngine
fn default() -> RepoctlEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RepoctlEngine
impl !UnwindSafe for RepoctlEngine
impl Freeze for RepoctlEngine
impl Send for RepoctlEngine
impl Sync for RepoctlEngine
impl Unpin for RepoctlEngine
impl UnsafeUnpin for RepoctlEngine
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