pub enum RenderAnnotationError {
EmptyProviderId,
DuplicateProviderId(String),
EmptyAnnotationId,
DuplicateAnnotationId(String),
NonFiniteCoordinate {
id: String,
},
TooManyAnnotations {
count: usize,
},
AnnotationTextTooLarge {
id: String,
size: usize,
},
InvalidXmlCharacter {
id: String,
codepoint: u32,
},
InvalidCollisionMetrics {
id: String,
},
CollisionResolution {
id: String,
},
}Expand description
Errors returned while validating host-provided render annotations.
Variants§
EmptyProviderId
DuplicateProviderId(String)
EmptyAnnotationId
DuplicateAnnotationId(String)
NonFiniteCoordinate
TooManyAnnotations
AnnotationTextTooLarge
InvalidXmlCharacter
InvalidCollisionMetrics
CollisionResolution
Trait Implementations§
Source§impl Clone for RenderAnnotationError
impl Clone for RenderAnnotationError
Source§impl Debug for RenderAnnotationError
impl Debug for RenderAnnotationError
Source§impl Display for RenderAnnotationError
impl Display for RenderAnnotationError
impl Eq for RenderAnnotationError
Source§impl Error for RenderAnnotationError
impl Error for RenderAnnotationError
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 RenderAnnotationError
impl PartialEq for RenderAnnotationError
impl StructuralPartialEq for RenderAnnotationError
Auto Trait Implementations§
impl Freeze for RenderAnnotationError
impl RefUnwindSafe for RenderAnnotationError
impl Send for RenderAnnotationError
impl Sync for RenderAnnotationError
impl Unpin for RenderAnnotationError
impl UnsafeUnpin for RenderAnnotationError
impl UnwindSafe for RenderAnnotationError
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