pub struct RegistryState {
pub registry_path: PathBuf,
pub cache: Arc<SchemaCache>,
}Expand description
Shared state for the registry API
Fields§
§registry_path: PathBufPath to the registry directory
cache: Arc<SchemaCache>Schema cache
Implementations§
Trait Implementations§
Source§impl Clone for RegistryState
impl Clone for RegistryState
Source§fn clone(&self) -> RegistryState
fn clone(&self) -> RegistryState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegistryState
impl !RefUnwindSafe for RegistryState
impl Send for RegistryState
impl Sync for RegistryState
impl Unpin for RegistryState
impl !UnwindSafe for RegistryState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more