Struct portunusd::door::Door[][src]

pub struct Door {
    pub descriptor: c_int,
}
Expand description

An actual, running Door

This type represents a running Door function based on your derived server procedure type. It isn’t visible on the filesystem yet (we’ll do that in [ApplicationDoorway]) but theoretically it could respond to [DOOR_CALL(3C)]s issued by an application which had otherwise been given access to this door (say, by passing it over a socket or a different door).

Fields

descriptor: c_int

Implementations

Create a callable door descriptor from a server procedure

Given a server procedure function, call DOOR_CREATE(3C) to get a descriptor which can be used to give other processes the ability to invoke function. For Portunus Applications, this descriptor will later be advertised on the filesystem by calling FATTACH(3C).

Trait Implementations

Automatically prevent clients from calling the door when it goes out of scope.

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.