pub struct OutputFixingParser<P, T>{
pub inner: Arc<P>,
pub model: Arc<dyn RepairModel>,
pub max_attempts: u32,
/* private fields */
}Fields§
§inner: Arc<P>§model: Arc<dyn RepairModel>§max_attempts: u32Implementations§
Source§impl<P, T> OutputFixingParser<P, T>
impl<P, T> OutputFixingParser<P, T>
pub fn new(inner: P, model: Arc<dyn RepairModel>, max_attempts: u32) -> Self
Trait Implementations§
Source§impl<P, T> Parser<T> for OutputFixingParser<P, T>
impl<P, T> Parser<T> for OutputFixingParser<P, T>
Auto Trait Implementations§
impl<P, T> Freeze for OutputFixingParser<P, T>
impl<P, T> !RefUnwindSafe for OutputFixingParser<P, T>
impl<P, T> Send for OutputFixingParser<P, T>
impl<P, T> Sync for OutputFixingParser<P, T>
impl<P, T> Unpin for OutputFixingParser<P, T>
impl<P, T> UnsafeUnpin for OutputFixingParser<P, T>
impl<P, T> !UnwindSafe for OutputFixingParser<P, T>
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