Enum PropertiesBufError
pub enum PropertiesBufError {
DisallowedProperty(PropertyId),
TooLong,
}Available on crate feature
alloc only.Expand description
Error returned by fallible mutation methods on PropertiesBuf.
Variants§
DisallowedProperty(PropertyId)
The supplied property’s identifier is not permitted by the
PropertyConstraint.
TooLong
Appending the property would push the total encoded length above
Vbi::MAX.
Trait Implementations§
§impl Clone for PropertiesBufError
impl Clone for PropertiesBufError
§fn clone(&self) -> PropertiesBufError
fn clone(&self) -> PropertiesBufError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PropertiesBufError
impl Debug for PropertiesBufError
§impl Display for PropertiesBufError
impl Display for PropertiesBufError
§impl Error for PropertiesBufError
impl Error for PropertiesBufError
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()
§impl PartialEq for PropertiesBufError
impl PartialEq for PropertiesBufError
impl Copy for PropertiesBufError
impl Eq for PropertiesBufError
impl StructuralPartialEq for PropertiesBufError
Auto Trait Implementations§
impl Freeze for PropertiesBufError
impl RefUnwindSafe for PropertiesBufError
impl Send for PropertiesBufError
impl Sync for PropertiesBufError
impl Unpin for PropertiesBufError
impl UnwindSafe for PropertiesBufError
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