pub struct PickleDbListIteratorItem<'a> { /* fields omitted */ }
The object returned in each iteration when iterating over PickleDB list
Get the item in the current position.
This method retrieves the item in the current position. It's the user's responsibility
to know what is the correct type of the item and give it while calling this method.
Since the item in the lists are stored in a serialized way the returned object
is not a reference to the item stored in a DB but actually a new instance of it.
The method returns Some(V)
if deserialization succeeds or None
otherwise.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more