pub struct PresentBatchError {
pub results: Box<[Option<PresentResult>]>,
pub source: PresentFailure,
}Expand description
Error returned by a presentation batch.
Fields§
§results: Box<[Option<PresentResult>]>Per-input results in the same order as the submitted PresentInfo values.
Entries are None when presentation did not run far enough to determine that input’s
result.
source: PresentFailureThe batch-level failure.
Trait Implementations§
Source§impl Clone for PresentBatchError
impl Clone for PresentBatchError
Source§fn clone(&self) -> PresentBatchError
fn clone(&self) -> PresentBatchError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PresentBatchError
impl Debug for PresentBatchError
Source§impl Display for PresentBatchError
impl Display for PresentBatchError
Source§impl Error for PresentBatchError
impl Error for PresentBatchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for PresentBatchError
impl RefUnwindSafe for PresentBatchError
impl Send for PresentBatchError
impl Sync for PresentBatchError
impl Unpin for PresentBatchError
impl UnsafeUnpin for PresentBatchError
impl UnwindSafe for PresentBatchError
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