pub struct BlockMetadata {
pub env: Vec<(String, String)>,
pub unified_roots: bool,
pub expect_error: Option<String>,
pub mock_remote: Vec<String>,
}Expand description
Runner configuration parsed from a fenced block’s info-string.
Fields§
§env: Vec<(String, String)>§unified_roots: bool§expect_error: Option<String>§mock_remote: Vec<String>Targets bound to the in-process mock REMOTE runner (```oxdock mock_remote:“prod”`). Lets doc examples execute sealed blocks for real with no ssh, no muxio, no tarballs.
Trait Implementations§
Source§impl Clone for BlockMetadata
impl Clone for BlockMetadata
Source§impl Debug for BlockMetadata
impl Debug for BlockMetadata
Source§impl Default for BlockMetadata
impl Default for BlockMetadata
impl Eq for BlockMetadata
Source§impl PartialEq for BlockMetadata
impl PartialEq for BlockMetadata
impl StructuralPartialEq for BlockMetadata
Auto Trait Implementations§
impl Forget for BlockMetadata
impl Freeze for BlockMetadatawhere
*const u8 is !null: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
impl Move for BlockMetadata
impl RefUnwindSafe for BlockMetadata
impl Send for BlockMetadatawhere
RawVecInner: Send,
impl Sync for BlockMetadatawhere
RawVecInner: Sync,
impl Unpin for BlockMetadata
impl UnsafeUnpin for BlockMetadatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BlockMetadatawhere
RawVecInner: 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