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
Auto Trait Implementations
impl RefUnwindSafe for Door
impl UnwindSafe for Door