Trait 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.

Required Associated Types§

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.

Implementations on Foreign Types§

Source§

impl<B, E> ClientState for (B, E)
where B: Clone + Send + Default + Debug + 'static, E: Send + Default + Debug + 'static,

Implementors§