pub struct Report {
pub info: RuntimeInfo,
pub version: Option<String>,
pub abi: Option<u64>,
pub available: Result<(), String>,
pub devices: Vec<Device>,
pub capabilities: String,
pub model: Option<ModelCheck>,
pub pull: Option<Vec<(String, bool, String)>>,
pub options: Vec<OptionDecl>,
pub named: Option<String>,
}Fields§
§info: RuntimeInfo§version: Option<String>§abi: Option<u64>The contract number the adapter checked the runtime against, when it states one.
available: Result<(), String>§devices: Vec<Device>§capabilities: String§model: Option<ModelCheck>§pull: Option<Vec<(String, bool, String)>>§options: Vec<OptionDecl>The options it takes on serve, as --<runtime>-<name> <value>.
named: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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