pub enum RenderInputError {
MissingRelationship {
scope: RelScope,
relationship_id: String,
},
MissingMediaTarget {
scope: RelScope,
relationship_id: String,
target: String,
},
SlideIndexOutOfBounds {
index: usize,
slide_count: usize,
},
MissingMedia {
media: MediaId,
},
InvalidPicture {
media: MediaId,
detail: &'static str,
},
TileLimitExceeded {
media: MediaId,
requested: usize,
limit: usize,
},
TextLayout {
detail: String,
},
}Expand description
Package assembly failures that retain relationship source context.
Variants§
MissingRelationship
MissingMediaTarget
SlideIndexOutOfBounds
MissingMedia
InvalidPicture
TileLimitExceeded
TextLayout
Trait Implementations§
Source§impl Clone for RenderInputError
impl Clone for RenderInputError
Source§fn clone(&self) -> RenderInputError
fn clone(&self) -> RenderInputError
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 RenderInputError
impl Debug for RenderInputError
Source§impl Display for RenderInputError
impl Display for RenderInputError
impl Eq for RenderInputError
Source§impl Error for RenderInputError
impl Error for RenderInputError
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 PartialEq for RenderInputError
impl PartialEq for RenderInputError
impl StructuralPartialEq for RenderInputError
Auto Trait Implementations§
impl Freeze for RenderInputError
impl RefUnwindSafe for RenderInputError
impl Send for RenderInputError
impl Sync for RenderInputError
impl Unpin for RenderInputError
impl UnsafeUnpin for RenderInputError
impl UnwindSafe for RenderInputError
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