pub enum RenderError {
Busy,
NoFrame,
FrameSize,
MissingVote(i64),
BadVote,
UnknownRegion(String),
MissingMeta(String),
Graph(PoseGraphError),
OutsideCanvas {
x: f64,
y: f64,
region: String,
},
Disposed(String),
Compositor(CompositeError),
}Variants§
Busy
begin while a frame is in progress, or step without one.
NoFrame
FrameSize
The labels or a frame do not have the session’s size.
MissingVote(i64)
The host did not hand over a voting record RenderSession::wanted_votes asked for.
BadVote
A voting record’s bitsets are shorter than its box, or its box is empty.
UnknownRegion(String)
A placement names a layer the region table does not hold.
MissingMeta(String)
The canvas a placement resolved to has no stored metadata.
Graph(PoseGraphError)
A pose graph lookup failed (a placement’s or an attachment’s node is missing).
OutsideCanvas
The compositor refused the placement: its rect leaves the addressable canvas.
Disposed(String)
The compositor’s temporal records for the canvas were already disposed.
Compositor(CompositeError)
Any other compositor failure.
Trait Implementations§
Source§impl Clone for RenderError
impl Clone for RenderError
Source§impl Debug for RenderError
impl Debug for RenderError
Source§impl Display for RenderError
impl Display for RenderError
Source§impl Error for RenderError
impl Error for RenderError
1.30.0 · 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 From<PoseGraphError> for RenderError
impl From<PoseGraphError> for RenderError
Source§fn from(e: PoseGraphError) -> Self
fn from(e: PoseGraphError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RenderError
impl PartialEq for RenderError
impl StructuralPartialEq for RenderError
Auto Trait Implementations§
impl Freeze for RenderError
impl RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl UnsafeUnpin for RenderError
impl UnwindSafe for RenderError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more