Enum fortanix_vme_abi::Response[][src]

pub enum Response {
    Connected {
        proxy_port: u32,
    },
    Bound {
        port: u16,
        fd: i32,
    },
    IncomingConnection {
        peer: Addr,
        proxy_port: u32,
    },
}

Variants

Connected

Fields of Connected

proxy_port: u32
Bound

Fields of Bound

port: u16

The TCP port the parent VM is listening on

fd: i32

The id used to identify the listener. It can be used for subsequent calls (e.g., to accept new incoming connections)

IncomingConnection

Fields of IncomingConnection

peer: Addr

The address of the remote party

proxy_port: u32

The vsock port number the runner will connect to the enclave in order to forward the incoming connection

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.