Skip to main content

WrapperState

Trait WrapperState 

Source
pub trait WrapperState: Send + Sync {
    // Required method
    fn as_any(&self) -> &dyn Any;
}
Expand description

Immutable per-instance state a wrapper produces once when the server is created. Stored on ForeignServer::wrapper_state so concurrent scans don’t re-initialise (e.g. re-open file handles, re-parse certs).

Required Methods§

Source

fn as_any(&self) -> &dyn Any

Implementors§