pub enum Result<T> {
Ok(T, Vec<Warning>),
Err(Error, Vec<Warning>),
}
Expand description
Result
mimics the std::result::Result
type, but each variant also carries
zero or more Warning
s with it.
Variants§
Ok(T, Vec<Warning>)
Contains the success value and zero or more warnings
Err(Error, Vec<Warning>)
Contains the error value and zero or more warnings
Implementations§
Trait Implementations§
impl<T: Eq> Eq for Result<T>
impl<T> StructuralPartialEq for Result<T>
Auto Trait Implementations§
impl<T> Freeze for Result<T>where
T: Freeze,
impl<T> RefUnwindSafe for Result<T>where
T: RefUnwindSafe,
impl<T> Send for Result<T>where
T: Send,
impl<T> Sync for Result<T>where
T: Sync,
impl<T> Unpin for Result<T>where
T: Unpin,
impl<T> UnwindSafe for Result<T>where
T: UnwindSafe,
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