pub struct NormalizedSchemaError {
pub table_index: usize,
pub kind: NormalizedSchemaErrorKind,
}Expand description
A malformed table set advertised by a NormalizedHello. table_index identifies
the offending entry in NormalizedHello::tables; the table name itself stays in the
hello so this error remains small and Copy while callers can still render a precise
diagnostic.
Fields§
§table_index: usize§kind: NormalizedSchemaErrorKindTrait Implementations§
Source§impl Clone for NormalizedSchemaError
impl Clone for NormalizedSchemaError
Source§fn clone(&self) -> NormalizedSchemaError
fn clone(&self) -> NormalizedSchemaError
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 moreSource§impl Debug for NormalizedSchemaError
impl Debug for NormalizedSchemaError
Source§impl PartialEq for NormalizedSchemaError
impl PartialEq for NormalizedSchemaError
impl Copy for NormalizedSchemaError
impl Eq for NormalizedSchemaError
impl StructuralPartialEq for NormalizedSchemaError
Auto Trait Implementations§
impl Freeze for NormalizedSchemaError
impl RefUnwindSafe for NormalizedSchemaError
impl Send for NormalizedSchemaError
impl Sync for NormalizedSchemaError
impl Unpin for NormalizedSchemaError
impl UnsafeUnpin for NormalizedSchemaError
impl UnwindSafe for NormalizedSchemaError
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