Skip to main content

AcceptedRouteEvidence

Struct AcceptedRouteEvidence 

Source
pub struct AcceptedRouteEvidence { /* private fields */ }
Expand description

One opaque accepted 250 MHz route-policy proof.

The type has no public constructor, serde implementation, or Clone implementation. Its private retained-descriptor guard is uninhabited in this source slice, so even module-private metadata policy validation cannot construct it. A future exact parser must install the descriptor guard and revalidate it before this type can become inhabited.

use u280_hardware_promoter::AcceptedRouteEvidence;

fn assert_clone<T: Clone>() {}
assert_clone::<AcceptedRouteEvidence>();
use serde::de::DeserializeOwned;
use u280_hardware_promoter::AcceptedRouteEvidence;

fn assert_deserializable<T: DeserializeOwned>() {}
assert_deserializable::<AcceptedRouteEvidence>();
use u280_hardware_promoter::AcceptedRouteEvidence;

fn external_representation_is_private(value: AcceptedRouteEvidence) {
    let AcceptedRouteEvidence {
        policy: _,
        retained_descriptors: _,
    } = value;
}

Implementations§

Source§

impl AcceptedRouteEvidence

Source

pub fn design_digest(&self) -> &str

Design-family digest joining the accepted 250 MHz stage and route.

Source

pub const fn actual_routed_hz(&self) -> u64

Actual routed clock accepted from the exact 250 MHz route proof.

Source

pub const fn setup_wns_femtoseconds(&self) -> i64

Exact accepted setup worst negative slack, represented in femtoseconds.

Source

pub const fn hold_whs_femtoseconds(&self) -> i64

Exact accepted hold worst hold slack, represented in femtoseconds.

Source

pub const fn whole_design_luts(&self) -> u64

Whole-routed-design LUT count, including shell resources.

Source

pub const fn whole_design_registers(&self) -> u64

Whole-routed-design register count, including shell resources.

Source

pub const fn whole_design_dsps(&self) -> u64

Whole-routed-design DSP count, including shell resources.

Trait Implementations§

Source§

impl Debug for AcceptedRouteEvidence

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.