pub struct AppState {
pub blob_store: SharedBlobStore,
pub registry: Arc<dyn RegistryMeta>,
}Expand description
Shared HTTP handler state.
Fields§
§blob_store: SharedBlobStoreBlob-bytes plane.
registry: Arc<dyn RegistryMeta>Metadata plane (manifests, tags, upload sessions, referrers).
Auto Trait Implementations§
impl Freeze for AppState
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnsafeUnpin for AppState
impl !UnwindSafe for AppState
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