pub struct AddressRoute;Trait Implementations§
Source§impl FoundationClosed<prism::pipeline::prism_model! {
pub struct $model;
pub struct $route;
impl PrismModel<
prism::vocabulary::DefaultHostTypes,
$bounds,
$hasher,
$crate::resolvers::AddressResolverTuple<$hasher>,
prism::pipeline::EmptyCommitment
> for $model {
type Input = $input;
type Output = $shape;
type Route = $route;
fn route(input: Self::Input) -> Self::Output {
$verb(input)
}
}
}> for AddressRoute
impl FoundationClosed<prism::pipeline::prism_model! { pub struct $model; pub struct $route; impl PrismModel< prism::vocabulary::DefaultHostTypes, $bounds, $hasher, $crate::resolvers::AddressResolverTuple<$hasher>, prism::pipeline::EmptyCommitment > for $model { type Input = $input; type Output = $shape; type Route = $route; fn route(input: Self::Input) -> Self::Output { $verb(input) } } }> for AddressRoute
Source§fn arena_slice() -> &'static [Term<'static, { _ }>]
fn arena_slice() -> &'static [Term<'static, { _ }>]
Returns the term-tree arena slice the
prism_model! macro emitted for
this route witness. [run_route] reads this to populate the
CompileUnit’s root_term before invoking [run].
ADR-060: the term arena is const-generic over the application’s
foundation-derived inline carrier width INLINE_BYTES.impl Sealed for AddressRoute
Auto Trait Implementations§
impl Freeze for AddressRoute
impl RefUnwindSafe for AddressRoute
impl Send for AddressRoute
impl Sync for AddressRoute
impl Unpin for AddressRoute
impl UnsafeUnpin for AddressRoute
impl UnwindSafe for AddressRoute
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