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 CreateSnapshotRequest(SnapshotCreateParams);

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

#[repr(transparent)]
pub struct CreateSnapshot(pub CreateSnapshotRequest);

impl_all_firecracker_traits!(
    CreateSnapshot,
    "PUT",
    "/snapshot/create",
    SnapshotCreateParams,
    Empty,
    InternalError
);