pub struct PolicySimulator { /* private fields */ }Implementations§
Source§impl PolicySimulator
impl PolicySimulator
pub fn new(config: PolicySimulatorConfig) -> Self
pub fn simulate(&self, plan: &Value) -> DimensionResult
Auto Trait Implementations§
impl Freeze for PolicySimulator
impl RefUnwindSafe for PolicySimulator
impl Send for PolicySimulator
impl Sync for PolicySimulator
impl Unpin for PolicySimulator
impl UnsafeUnpin for PolicySimulator
impl UnwindSafe for PolicySimulator
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