Diffstat (limited to 'src/build/builders/debug.rs')
-rw-r--r--src/build/builders/debug.rs19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/build/builders/debug.rs b/src/build/builders/debug.rs
index 17749dc..f1d8d1f 100644
--- a/src/build/builders/debug.rs
+++ b/src/build/builders/debug.rs
@@ -4,12 +4,11 @@ use crate::{
any::OwnedStatic,
any_trait,
effect::{Effect, Future},
- protocol::Walker,
+ protocol::{visitor::SequenceProto, Walker},
protocol::{
self,
visitor::{
- DynRequestHint, DynSequence, DynSequenceScope, DynTag, DynValue, RequestHint, Sequence,
- Tag, TagDyn, Value, VisitResult,
+ DynSequenceScope, RequestHint, RequestHintProto, Sequence, Tag, TagDyn, TagProto, Value, ValueProto, VisitResult
},
},
DynWalker, Flow,
@@ -19,15 +18,15 @@ pub struct Visitor<E>(usize, PhantomData<fn() -> E>);
any_trait! {
impl['ctx, E] Visitor<E> = [
- DynRequestHint<'ctx, E>,
+ RequestHintProto<E>,
// DynRecoverable<'a, 'ctx, E>,
- DynTag<'ctx, TagDyn, E>,
- DynValue<'ctx, OwnedStatic<&'static str>, E>,
- DynValue<'ctx, OwnedStatic<TypeId>, E>,
- DynValue<'ctx, OwnedStatic<usize>, E>,
- DynValue<'ctx, OwnedStatic<bool>, E>,
+ TagProto<TagDyn, E>,
+ ValueProto<OwnedStatic<&'static str>, E>,
+ ValueProto<OwnedStatic<TypeId>, E>,
+ ValueProto<OwnedStatic<usize>, E>,
+ ValueProto<OwnedStatic<bool>, E>,
// DynValue<'a, 'ctx, OwnedStatic<&'static [&'static str]>, E>,
- DynSequence<'ctx, E>,
+ SequenceProto<E>,
] else {
let id;
println!("Unknown trait: {:?}", id);