pub enum BuilderError {
MutableMapExtensibilityNotAllowed,
}Expand description
Validation error when building collection types.
Variants§
MutableMapExtensibilityNotAllowed
MUTABLE extensibility is not allowed on maps (XTypes 1.3 §7.4.3.5.3 Rules 11-16). The spec allows only FINAL/ APPENDABLE; MUTABLE has historically been silently treated as APPENDABLE. This error prevents the silent demotion.
Trait Implementations§
Source§impl Clone for BuilderError
impl Clone for BuilderError
Source§fn clone(&self) -> BuilderError
fn clone(&self) -> BuilderError
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 BuilderError
impl Debug for BuilderError
impl Eq for BuilderError
Source§impl PartialEq for BuilderError
impl PartialEq for BuilderError
Source§fn eq(&self, other: &BuilderError) -> bool
fn eq(&self, other: &BuilderError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BuilderError
Auto Trait Implementations§
impl Freeze for BuilderError
impl RefUnwindSafe for BuilderError
impl Send for BuilderError
impl Sync for BuilderError
impl Unpin for BuilderError
impl UnsafeUnpin for BuilderError
impl UnwindSafe for BuilderError
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