pub struct SidecarConfig<'a> {
pub image: MemoryRange,
pub node_params: &'a [SidecarNodeParams],
pub nodes: &'a [SidecarNodeOutput],
pub start_reftime: u64,
pub end_reftime: u64,
}
Fields§
§image: MemoryRange
§node_params: &'a [SidecarNodeParams]
§nodes: &'a [SidecarNodeOutput]
§start_reftime: u64
§end_reftime: u64
Implementations§
Source§impl SidecarConfig<'_>
impl SidecarConfig<'_>
Sourcepub fn kernel_command_line(&self) -> SidecarKernelCommandLine<'_>
pub fn kernel_command_line(&self) -> SidecarKernelCommandLine<'_>
Returns an object to be appended to the Linux kernel command line to configure it properly for sidecar.
Auto Trait Implementations§
impl<'a> Freeze for SidecarConfig<'a>
impl<'a> RefUnwindSafe for SidecarConfig<'a>
impl<'a> Send for SidecarConfig<'a>
impl<'a> Sync for SidecarConfig<'a>
impl<'a> Unpin for SidecarConfig<'a>
impl<'a> UnwindSafe for SidecarConfig<'a>
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