Struct smart_read::one_time_logic::TransformValidate
source · pub struct TransformValidate<F: Fn(String) -> Result<O, String>, O: Display>(pub F);Expand description
Allows you to keep reading until a transform is valid
Tuple Fields§
§0: FTrait Implementations§
Auto Trait Implementations§
impl<F, O> Freeze for TransformValidate<F, O>
impl<F, O> RefUnwindSafe for TransformValidate<F, O>
impl<F, O> Send for TransformValidate<F, O>
impl<F, O> Sync for TransformValidate<F, O>
impl<F, O> Unpin for TransformValidate<F, O>
impl<F, O> UnwindSafe for TransformValidate<F, O>
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