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.
Required Associated Types§
type ReadDirState: Clone + Send + Default + Debug + 'static
type DirEntryState: Send + Default + Debug + 'static
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.