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
18
#[repr(transparent)]
pub struct PutGuestNetworkInterfaceByIDRequest(NetworkInterface);

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

#[repr(transparent)]
pub struct PutGuestNetworkInterfaceByID(pub PutGuestNetworkInterfaceByIDRequest);

impl_all_firecracker_traits!(
    PutGuestNetworkInterfaceByID,
    "PUT",
    "/network-interfaces",
    NetworkInterface,
    iface_id,
    Empty,
    InternalError
);