pub struct StabilityRegistry { /* private fields */ }Expand description
Registry of all OxiRS public API stability commitments.
Implementations§
Source§impl StabilityRegistry
impl StabilityRegistry
Sourcepub fn register(&mut self, marker: ApiStabilityMarker)
pub fn register(&mut self, marker: ApiStabilityMarker)
Registers a new API stability marker.
Sourcepub fn oxirs_v1_stability() -> Self
pub fn oxirs_v1_stability() -> Self
Returns the complete OxiRS v1 stability registry.
Sourcepub fn all_apis(&self) -> &[ApiStabilityMarker]
pub fn all_apis(&self) -> &[ApiStabilityMarker]
Returns all registered API stability markers.
Sourcepub fn stable_apis(&self) -> Vec<&ApiStabilityMarker>
pub fn stable_apis(&self) -> Vec<&ApiStabilityMarker>
Returns all APIs at the Stable level.
Sourcepub fn beta_apis(&self) -> Vec<&ApiStabilityMarker>
pub fn beta_apis(&self) -> Vec<&ApiStabilityMarker>
Returns all APIs at the Beta level.
Sourcepub fn experimental_apis(&self) -> Vec<&ApiStabilityMarker>
pub fn experimental_apis(&self) -> Vec<&ApiStabilityMarker>
Returns all APIs at the Experimental level.
Sourcepub fn deprecated_apis(&self) -> Vec<&ApiStabilityMarker>
pub fn deprecated_apis(&self) -> Vec<&ApiStabilityMarker>
Returns all Deprecated APIs.
Sourcepub fn apis_by_category(
&self,
category: &ApiCategory,
) -> Vec<&ApiStabilityMarker>
pub fn apis_by_category( &self, category: &ApiCategory, ) -> Vec<&ApiStabilityMarker>
Returns all APIs in a given category.
Sourcepub fn production_ready_apis(&self) -> Vec<&ApiStabilityMarker>
pub fn production_ready_apis(&self) -> Vec<&ApiStabilityMarker>
Returns all APIs that are production-ready (Stable, Beta, or Deprecated).
Sourcepub fn summary(&self) -> RegistrySummary
pub fn summary(&self) -> RegistrySummary
Computes summary statistics for this registry.
Sourcepub fn generate_report(&self) -> String
pub fn generate_report(&self) -> String
Generates a comprehensive Markdown stability report.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StabilityRegistry
impl RefUnwindSafe for StabilityRegistry
impl Send for StabilityRegistry
impl Sync for StabilityRegistry
impl Unpin for StabilityRegistry
impl UnsafeUnpin for StabilityRegistry
impl UnwindSafe for StabilityRegistry
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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