pub struct ExtendedResult<T> { /* private fields */ }
Implementations§
Source§impl<T> ExtendedResult<T>
impl<T> ExtendedResult<T>
pub fn new(value: T) -> ExtendedResult<T>
pub fn with_errors(value: T, errors: ValicoErrors) -> ExtendedResult<T>
pub fn is_valid(&self) -> bool
pub fn append(&mut self, second: ValidationState)
Auto Trait Implementations§
impl<T> Freeze for ExtendedResult<T>where
T: Freeze,
impl<T> !RefUnwindSafe for ExtendedResult<T>
impl<T> Send for ExtendedResult<T>where
T: Send,
impl<T> !Sync for ExtendedResult<T>
impl<T> Unpin for ExtendedResult<T>where
T: Unpin,
impl<T> !UnwindSafe for ExtendedResult<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