Trait jwalk::ClientState
source · pub trait ClientState: Send + Default + Debug + 'static {
type ReadDirState: Clone + Send + Default + Debug + 'static;
type DirEntryState: Send + Default + Debug + 'static;
}
Expand description
Client state maintained while performing walk.
for state stored in DirEntry’s
client_state
field.
Client state can be stored from within the
process_read_dir
callback.
The type of ClientState is determined by WalkDirGeneric type parameter.