pub struct PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence = NoPersistence>{
pub transport_identity: Option<Zeroizing<[u8; 64]>>,
pub pre_configured_destinations: Destinations,
pub app_state: AppState,
pub storage: Storage,
pub request_endpoints: RequestEndpoints,
pub interfaces: Interfaces,
pub persistence: Persistence,
pub on_event: OnEvent,
}Fields§
§transport_identity: Option<Zeroizing<[u8; 64]>>The transport role takes a whole identity, never a bare address: a transport node signs (tunnel synthesis), and RNS 1.4.2 keeps a dedicated persisted transport identity.
pre_configured_destinations: Destinations§app_state: AppState§storage: StorageThe storage layout the engine’s columns run on: GrowableHeap on a std
host, Esp32S3 for the PSRAM-backed reference target, or a board-owned
fixed layout for an SRAM-constrained application. A type-level choice
carried as a value so the recipe owns it and PrnsNode::new no longer
assumes one.
request_endpoints: RequestEndpoints§interfaces: Interfaces§persistence: Persistence§on_event: OnEventAuto Trait Implementations§
impl<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence> Freeze for PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence>
impl<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence> RefUnwindSafe for PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence>where
Destinations: RefUnwindSafe,
AppState: RefUnwindSafe,
Storage: RefUnwindSafe,
RequestEndpoints: RefUnwindSafe,
Interfaces: RefUnwindSafe,
Persistence: RefUnwindSafe,
OnEvent: RefUnwindSafe,
impl<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence> Send for PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence>
impl<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence> Sync for PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence>
impl<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence> Unpin for PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence>
impl<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence> UnsafeUnpin for PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence>where
Destinations: UnsafeUnpin,
AppState: UnsafeUnpin,
Storage: UnsafeUnpin,
RequestEndpoints: UnsafeUnpin,
Interfaces: UnsafeUnpin,
Persistence: UnsafeUnpin,
OnEvent: UnsafeUnpin,
impl<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence> UnwindSafe for PrnsNodeRecipe<Destinations, AppState, RequestEndpoints, OnEvent, Interfaces, Storage, Persistence>where
Destinations: UnwindSafe,
AppState: UnwindSafe,
Storage: UnwindSafe,
RequestEndpoints: UnwindSafe,
Interfaces: UnwindSafe,
Persistence: UnwindSafe,
OnEvent: UnwindSafe,
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