pub struct PythonEmitter;Expand description
Python package emitter with feature-selected legacy and ordered evidence ledgers.
Implementations§
Source§impl PythonEmitter
impl PythonEmitter
Sourcepub fn generator_handlers(&self) -> Vec<ProjectionHandler>
pub fn generator_handlers(&self) -> Vec<ProjectionHandler>
Return its exact legacy unordered projection-handler evidence.
Sourcepub fn generator_handlers_for(
&self,
schema: &ResolvedSchema,
) -> Vec<ProjectionHandler>
pub fn generator_handlers_for( &self, schema: &ResolvedSchema, ) -> Vec<ProjectionHandler>
Return projection-handler evidence selected for the resolved schema features.
Sourcepub fn code_resources(&self) -> Result<Vec<CodeResourceDigest>, Diagnostic>
pub fn code_resources(&self) -> Result<Vec<CodeResourceDigest>, Diagnostic>
Hash its exact legacy unordered fixed output resources.
Sourcepub fn code_resources_for(
&self,
schema: &ResolvedSchema,
) -> Result<Vec<CodeResourceDigest>, Diagnostic>
pub fn code_resources_for( &self, schema: &ResolvedSchema, ) -> Result<Vec<CodeResourceDigest>, Diagnostic>
Hash the exact fixed output resources selected for the resolved schema features.
Sourcepub fn emit(
&self,
projection: &RuntimeProjection,
authority: &VerifiedSchemaAuthority,
) -> Result<GeneratedPackage, Diagnostic>
pub fn emit( &self, projection: &RuntimeProjection, authority: &VerifiedSchemaAuthority, ) -> Result<GeneratedPackage, Diagnostic>
Emit one deterministic package bound to exact verified schema authority.
Trait Implementations§
Source§impl Clone for PythonEmitter
impl Clone for PythonEmitter
Source§fn clone(&self) -> PythonEmitter
fn clone(&self) -> PythonEmitter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PythonEmitter
Source§impl Debug for PythonEmitter
impl Debug for PythonEmitter
Source§impl Default for PythonEmitter
impl Default for PythonEmitter
Source§fn default() -> PythonEmitter
fn default() -> PythonEmitter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PythonEmitter
impl RefUnwindSafe for PythonEmitter
impl Send for PythonEmitter
impl Sync for PythonEmitter
impl Unpin for PythonEmitter
impl UnsafeUnpin for PythonEmitter
impl UnwindSafe for PythonEmitter
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