pub struct IndicatorMetadataCache { /* private fields */ }Implementations§
Source§impl IndicatorMetadataCache
impl IndicatorMetadataCache
pub fn new() -> Arc<Self>
pub fn snapshot(&self) -> Option<Arc<IndicatorCatalogSnapshot>>
pub fn local_catalog(&self) -> Result<Arc<LocalIndicatorCatalog>, Arc<str>>
pub fn merged_snapshot(&self) -> Result<MergedIndicatorCatalog, Arc<str>>
pub fn begin_refresh( &self, owner: IndicatorRefreshOwner, ) -> IndicatorRefreshTicket
pub fn apply_info_page( &self, ticket: IndicatorRefreshTicket, language: IndicatorLanguage, items: Vec<IndicatorInfo>, next_start_guid: Option<&str>, ) -> Result<RefreshProgress, IndicatorApplyError>
pub fn apply_param_page( &self, ticket: IndicatorRefreshTicket, language: IndicatorLanguage, items: Vec<IndicatorParam>, next_start_guid: Option<&str>, ) -> Result<RefreshProgress, IndicatorApplyError>
pub fn fail_stream( &self, ticket: IndicatorRefreshTicket, language: IndicatorLanguage, info_stream: bool, ) -> bool
pub fn apply_info_push( &self, owner: IndicatorRefreshOwner, op: IndicatorPushOp, item: IndicatorInfo, ) -> Result<CatalogPushResult, IndicatorApplyError>
pub fn apply_param_push( &self, owner: IndicatorRefreshOwner, op: IndicatorPushOp, item: IndicatorParam, ) -> Result<CatalogPushResult, IndicatorApplyError>
Trait Implementations§
Source§impl Debug for IndicatorMetadataCache
impl Debug for IndicatorMetadataCache
Source§impl Default for IndicatorMetadataCache
impl Default for IndicatorMetadataCache
Source§impl PythonGenerationAuthority for IndicatorMetadataCache
impl PythonGenerationAuthority for IndicatorMetadataCache
fn resolve_current(&self, guid: &str) -> Option<ServerPythonProgramMetadata>
fn is_current(&self, lease: &ServerPythonGenerationLease) -> bool
Auto Trait Implementations§
impl !Freeze for IndicatorMetadataCache
impl !RefUnwindSafe for IndicatorMetadataCache
impl Send for IndicatorMetadataCache
impl Sync for IndicatorMetadataCache
impl Unpin for IndicatorMetadataCache
impl UnsafeUnpin for IndicatorMetadataCache
impl UnwindSafe for IndicatorMetadataCache
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more