pub struct ArrayItemKeyPath {
base: ConfigKey,
path: Vec<KeyOrIdx>,
}Expand description
Tracks the key path to an item in an array for detailed error context.
Fields§
§base: ConfigKey§path: Vec<KeyOrIdx>This is stored in reverse, and is pushed only when erroring out. The first element is the innermost key.
Implementations§
Trait Implementations§
Source§impl Clone for ArrayItemKeyPath
impl Clone for ArrayItemKeyPath
Source§impl Debug for ArrayItemKeyPath
impl Debug for ArrayItemKeyPath
Auto Trait Implementations§
impl Forget for ArrayItemKeyPath
impl Freeze for ArrayItemKeyPathwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, usize)>: Freeze,
PhantomData<KeyOrIdx>: Freeze,
impl Move for ArrayItemKeyPath
impl RefUnwindSafe for ArrayItemKeyPath
impl Send for ArrayItemKeyPathwhere
RawVecInner: Send,
impl Sync for ArrayItemKeyPathwhere
RawVecInner: Sync,
impl Unpin for ArrayItemKeyPath
impl UnsafeUnpin for ArrayItemKeyPathwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, usize)>: UnsafeUnpin,
PhantomData<KeyOrIdx>: UnsafeUnpin,
impl UnwindSafe for ArrayItemKeyPathwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes