Struct spy::Spy [−][src]
pub struct Spy<Args> { /* fields omitted */ }
Spy object that tracks calls of associated spy function.
Methods
impl<Args: PartialEq> Spy<Args>
[src]
impl<Args: PartialEq> Spy<Args>
pub fn snapshot(&self) -> SpySnapshot<Args>
[src]
pub fn snapshot(&self) -> SpySnapshot<Args>
It takes a snapshot of a spy object. Taken snapshot contains all the calls starting from previous snapshot.