pub enum ValueCodecIdError {
Empty,
EmptySegment,
InvalidSegment,
}Expand description
A stable value-codec ID protocol violation.
Variants§
Empty
The complete ID is empty.
EmptySegment
One dot-separated segment is empty.
InvalidSegment
One segment has an invalid initial byte or character.
Trait Implementations§
Source§impl Clone for ValueCodecIdError
impl Clone for ValueCodecIdError
Source§fn clone(&self) -> ValueCodecIdError
fn clone(&self) -> ValueCodecIdError
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 moreimpl Copy for ValueCodecIdError
Source§impl Debug for ValueCodecIdError
impl Debug for ValueCodecIdError
Source§impl Display for ValueCodecIdError
impl Display for ValueCodecIdError
impl Eq for ValueCodecIdError
Source§impl Error for ValueCodecIdError
impl Error for ValueCodecIdError
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 ValueCodecIdError
impl PartialEq for ValueCodecIdError
impl StructuralPartialEq for ValueCodecIdError
Auto Trait Implementations§
impl Freeze for ValueCodecIdError
impl RefUnwindSafe for ValueCodecIdError
impl Send for ValueCodecIdError
impl Sync for ValueCodecIdError
impl Unpin for ValueCodecIdError
impl UnsafeUnpin for ValueCodecIdError
impl UnwindSafe for ValueCodecIdError
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