pub enum Step {
Index(usize),
Key(String),
}Expand description
One step from a container to one of its children.
A map key can be user data, so Debug masks it; an index is structure
and is shown. Read a key by matching on the step.
Steps compare by value, keys included. A key is not secret from the ciphertext, which carries every map key in the clear; only logs are kept free of it.
Variants§
Index(usize)
The element at this index of a sequence.
Key(String)
The entry under this key of a map.
Trait Implementations§
impl Eq for Step
impl OpaqueDebug for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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