pub struct BlockVisitor;Expand description
Visitor that returns one raw backend block.
Trait Implementations§
Source§impl Clone for BlockVisitor
impl Clone for BlockVisitor
Source§fn clone(&self) -> BlockVisitor
fn clone(&self) -> BlockVisitor
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 BlockVisitor
Source§impl Debug for BlockVisitor
impl Debug for BlockVisitor
Source§impl Default for BlockVisitor
impl Default for BlockVisitor
Source§fn default() -> BlockVisitor
fn default() -> BlockVisitor
Returns the “default value” for a type. Read more
Source§impl<Block, Passthrough> PrfVisitor<Block, Passthrough> for BlockVisitorwhere
Block: Send + 'static,
impl<Block, Passthrough> PrfVisitor<Block, Passthrough> for BlockVisitorwhere
Block: Send + 'static,
type Value = Block
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 BlockVisitor
impl RefUnwindSafe for BlockVisitor
impl Send for BlockVisitor
impl Sync for BlockVisitor
impl Unpin for BlockVisitor
impl UnsafeUnpin for BlockVisitor
impl UnwindSafe for BlockVisitor
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