pub enum SurfacePresentError<SinkError> {
Surface(SurfaceError),
Sink(SinkError),
}Expand description
Failure while presenting one prepared transaction to a Host.
Variants§
Surface(SurfaceError)
Scene preparation or revision bookkeeping failed.
Sink(SinkError)
The Host rejected the call before accepting the transaction.
Trait Implementations§
Source§impl<SinkError: Clone> Clone for SurfacePresentError<SinkError>
impl<SinkError: Clone> Clone for SurfacePresentError<SinkError>
Source§impl<SinkError: Debug> Debug for SurfacePresentError<SinkError>
impl<SinkError: Debug> Debug for SurfacePresentError<SinkError>
Source§impl<SinkError: Debug> Display for SurfacePresentError<SinkError>
impl<SinkError: Debug> Display for SurfacePresentError<SinkError>
Source§impl<SinkError: Error + 'static> Error for SurfacePresentError<SinkError>
impl<SinkError: Error + 'static> Error for SurfacePresentError<SinkError>
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()
Source§impl<SinkError: PartialEq> PartialEq for SurfacePresentError<SinkError>
impl<SinkError: PartialEq> PartialEq for SurfacePresentError<SinkError>
impl<SinkError: PartialEq> StructuralPartialEq for SurfacePresentError<SinkError>
Auto Trait Implementations§
impl<SinkError> Forget for SurfacePresentError<SinkError>
impl<SinkError> Freeze for SurfacePresentError<SinkError>where
SinkError: Freeze,
impl<SinkError> Move for SurfacePresentError<SinkError>
impl<SinkError> RefUnwindSafe for SurfacePresentError<SinkError>where
SinkError: RefUnwindSafe,
impl<SinkError> Send for SurfacePresentError<SinkError>where
SinkError: Send,
impl<SinkError> Sync for SurfacePresentError<SinkError>where
SinkError: Sync,
impl<SinkError> Unpin for SurfacePresentError<SinkError>where
SinkError: Unpin,
impl<SinkError> UnsafeUnpin for SurfacePresentError<SinkError>where
SinkError: UnsafeUnpin,
impl<SinkError> UnwindSafe for SurfacePresentError<SinkError>where
SinkError: 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