rustcracker 1.1.1+deprecated

A crate for communicating with firecracker for the development of PKU-cloud.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[repr(transparent)]
pub struct PutCpuConfigurationRequest(CPUConfig);

#[repr(transparent)]
pub struct PutCpuConfigurationResponse(pub Either<Empty, InternalError>);

#[repr(transparent)]
pub struct PutCpuConfiguration(pub PutCpuConfigurationRequest);

impl_all_firecracker_traits!(
    PutCpuConfiguration,
    "PUT",
    "/cpu-config",
    CPUConfig,
    Empty,
    InternalError
);