[][src]Enum bandsocks::RuntimeError

pub enum RuntimeError {
    IOError(Error),
    ProtocolError(Error),
    Disconnected,
    FileQueueFullError(QueueFullError),
    ImageError(ImageError),
    TaskJoinError(JoinError),
    VFSError(VFSError),
    NoEntryPoint,
    InvalidPid,
    WrongProcessState,
    StringDecoding,
    ProgramAllocError(String),
    MemAccess,
    MemfdError(Error),
    NulStringError(NulError),
    SandUnexpectedStatus {
        status: ExitStatus,
        stderr: String,
    },
    SandReportsDisconnect {
        stderr: String,
    },
    SandIOError {
        stderr: String,
    },
    SandPanic {
        stderr: String,
    },
}

Errors that occur while a container is running

Variants

IOError(Error)

io error

ProtocolError(Error)

protocol error

Disconnected

connection lost unexpectedly

FileQueueFullError(QueueFullError)

file queue full error

ImageError(ImageError)

container image error

TaskJoinError(JoinError)

task join error

VFSError(VFSError)

virtual filesystem error

NoEntryPoint

container has no configured entry point

InvalidPid

invalid process ID

WrongProcessState

incorrect ipc process state

StringDecoding

string decoding error

ProgramAllocError(String)

failed to allocate sandbox process

MemAccess

memory access error

MemfdError(Error)

error in memory-backed file

NulStringError(NulError)

argument string contained internal nul byte

SandUnexpectedStatus

unexpected exit status from sandbox runtime

Fields of SandUnexpectedStatus

status: ExitStatusstderr: String
SandReportsDisconnect

sandbox runtime reported an unexpected disconnect

Fields of SandReportsDisconnect

stderr: String
SandIOError

sandbox runtime reports a low-level I/O error

Fields of SandIOError

stderr: String
SandPanic

panic from sandbox runtime

Fields of SandPanic

stderr: String

Trait Implementations

impl Debug for RuntimeError[src]

impl Display for RuntimeError[src]

impl Error for RuntimeError[src]

impl From<Error> for RuntimeError[src]

impl From<Error> for RuntimeError[src]

impl From<ImageError> for RuntimeError[src]

impl From<JoinError> for RuntimeError[src]

impl From<NulError> for RuntimeError[src]

impl From<QueueFullError> for RuntimeError[src]

impl From<VFSError> for RuntimeError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,