podbox-guest 0.7.0

Guest-side daemon and entrypoint for podbox containers: socket protocol, interceptors, and idle shutdown.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::io;

#[derive(Debug, thiserror::Error)]
pub enum GuestError {
    #[error("PODBOX_CONTAINER (or PODMGR_CONTAINER) environment variable not set")]
    ContainerNameMissing,

    #[error("I/O error: {0}")]
    Io(#[from] io::Error),

    #[error("protocol error: {0}")]
    ProtocolError(#[from] serde_json::Error),

    #[error("handshake failed: {0}")]
    HandshakeFailed(String),
}