pub struct ResolvedVisitor;Trait Implementations§
Source§impl Clone for ResolvedVisitor
impl Clone for ResolvedVisitor
Source§fn clone(&self) -> ResolvedVisitor
fn clone(&self) -> ResolvedVisitor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResolvedVisitor
Source§impl<Block, Passthrough> PrfVisitor<Block, Passthrough> for ResolvedVisitor
Identity visitor that preserves a resolved node’s structural shape.
impl<Block, Passthrough> PrfVisitor<Block, Passthrough> for ResolvedVisitor
Identity visitor that preserves a resolved node’s structural shape.
Backend sequence and map drivers use this visitor to collect child
programs as ResolvedPrf nodes before the caller’s final visitor is
applied.
type Value = ResolvedPrf<Block, Passthrough>
fn visit_block(self, block: Block) -> Result<Self::Value, PrfVisitorError>
fn visit_seq( self, seq: SeqAccess<Block, Passthrough>, ) -> Result<Self::Value, PrfVisitorError>
fn visit_map( self, map: MapAccess<Block, Passthrough>, ) -> Result<Self::Value, PrfVisitorError>
fn visit_absent(self) -> Result<Self::Value, PrfVisitorError>
Source§fn visit_passthrough(
self,
value: Passthrough,
) -> Result<Self::Value, PrfVisitorError>
fn visit_passthrough( self, value: Passthrough, ) -> Result<Self::Value, PrfVisitorError>
Passthrough is an explicit non-secret channel. It receives no PRF
protection and must not carry keys, plaintexts, or credentials.
Auto Trait Implementations§
impl Freeze for ResolvedVisitor
impl RefUnwindSafe for ResolvedVisitor
impl Send for ResolvedVisitor
impl Sync for ResolvedVisitor
impl Unpin for ResolvedVisitor
impl UnsafeUnpin for ResolvedVisitor
impl UnwindSafe for ResolvedVisitor
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