Lines Matching refs:kvs
270 fn get<'kvs, Q>(&'kvs self, key: Q) -> Option<Value<'kvs>>
381 kvs: r.key_values().as_map(),
395 kvs: KVS,
409 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error>;
418 trait Visitor<'kvs> {
419 fn visit_pair(&mut self, k: Key<'kvs>, v: Value<'kvs>) -> Result<(), Error>;
423 …ue` is the container for structured data we saw previously. The lifetime `'kvs` is threaded from t…
439 …fn visit<'kvs>(&'kvs self, visitor: &mut impl source::Visitor<'kvs>) -> Result<(), source::Error> {
460 …fn visit<'kvs>(&'kvs self, visitor: &mut impl source::Visitor<'kvs>) -> Result<(), source::Error> {
464 struct Seen<'kvs>(BTreeMap<source::Key<'kvs>, source::Value<'kvs>>);
466 impl<'kvs> Visitor<'kvs> for Seen<'kvs> {
467 …fn visit_pair<'vis>(&'vis mut self, k: source::Key<'kvs>, v: source::Value<'kvs>) -> Result<(), so…
1136 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error>;
1145 fn get<'kvs, Q>(&'kvs self, key: Q) -> Option<Value<'kvs>>
1223 pub fn erased(kvs: &'a impl Source) -> Self {
1224 ErasedSource(kvs)
1233 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error> {
1237 fn get<'kvs, Q>(&'kvs self, key: Q) -> Option<Value<'kvs>>
1246 fn erased_visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error>;
1247 fn erased_get<'kvs>(&'kvs self, key: Key) -> Option<Value<'kvs>>;
1254 fn erased_visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error> {
1258 fn erased_get<'kvs>(&'kvs self, key: Key) -> Option<Value<'kvs>> {
1274 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error>
1285 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error> {
1299 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error> {
1305 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error> {
1311 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error> {
1317 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error> {
1327 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error>
1336 fn get<'kvs, Q>(&'kvs self, key: Q) -> Option<Value<'kvs>>
1349 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error>
1358 fn get<'kvs, Q>(&'kvs self, key: Q) -> Option<Value<'kvs>>
1408 pub trait Visitor<'kvs> {
1409 fn visit_pair(&mut self, k: Key<'kvs>, v: Value<'kvs>) -> Result<(), Error>;
1412 impl<'a, 'kvs, T: ?Sized> Visitor<'kvs> for &'a mut T
1414 T: Visitor<'kvs>
1436 pub fn key_values(&mut self, kvs: ErasedSource<'a>) -> &mut RecordBuilder<'a> {
1437 self.record.kvs = kvs;
1450 kvs: ErasedSource<'a>,
1455 self.kvs.clone()
1466 pub fn key_values(&mut self, kvs: ErasedSource<'a>) -> &mut RecordBuilder<'a> {
1552 fn visit<'kvs>(&'kvs self, visitor: &mut impl Visitor<'kvs>) -> Result<(), Error>;
1564 pub trait Visitor<'kvs> {
1565 fn visit_pair(&mut self, k: Key<'kvs>, v: Value<'kvs>) -> Result<(), Error>;