pub struct OwnedBootstrapInput {
pub target: String,
pub inputs: Vec<(String, Vec<u8>)>,
}Expand description
Owned-form mirror of BootstrapInput. Kept around because
callers (and tests) may want an owned shape, but the new flat
run_bootstrap path stages each entry directly without parking
it on a queue.
Fields§
§target: StringTarget function name. Same semantics as
BootstrapInput::target.
inputs: Vec<(String, Vec<u8>)>Ordered (input_name, value_bytes) pairs. Same semantics as
BootstrapInput::inputs but with owned strings + buffers.
Trait Implementations§
Source§impl Clone for OwnedBootstrapInput
impl Clone for OwnedBootstrapInput
Source§fn clone(&self) -> OwnedBootstrapInput
fn clone(&self) -> OwnedBootstrapInput
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 moreAuto Trait Implementations§
impl Freeze for OwnedBootstrapInput
impl RefUnwindSafe for OwnedBootstrapInput
impl Send for OwnedBootstrapInput
impl Sync for OwnedBootstrapInput
impl Unpin for OwnedBootstrapInput
impl UnsafeUnpin for OwnedBootstrapInput
impl UnwindSafe for OwnedBootstrapInput
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