[][src]Trait jwalk::ClientState

pub trait ClientState: Send + Default + Debug + 'static {
    type ReadDirState: Clone + Send + Default + Debug + 'static;
    type DirEntryState: Send + Default + Debug + 'static;
}

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.

Associated Types

type ReadDirState: Clone + Send + Default + Debug + 'static[src]

type DirEntryState: Send + Default + Debug + 'static[src]

Loading content...

Implementations on Foreign Types

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

type ReadDirState = B

type DirEntryState = E

Loading content...

Implementors

Loading content...