pub struct OperationOracleRegistration { /* private fields */ }Expand description
Composition-root registration that independently anchors the expected descriptor before an implementation can enter the trusted registry.
Implementations§
Source§impl OperationOracleRegistration
impl OperationOracleRegistration
pub fn new( expected_descriptor: OperationOracleDescriptor, oracle: Box<dyn OperationOracle>, ) -> Result<Self, VNextError>
pub fn descriptor(&self) -> &OperationOracleDescriptor
Auto Trait Implementations§
impl !RefUnwindSafe for OperationOracleRegistration
impl !UnwindSafe for OperationOracleRegistration
impl Freeze for OperationOracleRegistration
impl Send for OperationOracleRegistration
impl Sync for OperationOracleRegistration
impl Unpin for OperationOracleRegistration
impl UnsafeUnpin for OperationOracleRegistration
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