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 PatchGuestNetworkInterfaceByIDRequest(PartialNetworkInterface);

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

#[repr(transparent)]
pub struct PatchGuestNetworkInterfaceByID(pub PatchGuestNetworkInterfaceByIDRequest);

impl_all_firecracker_traits!(
    PatchGuestNetworkInterfaceByID,
    "PATCH",
    "/network-interfaces",
    PartialNetworkInterface,
    iface_id,
    Empty,
    InternalError
);