Expand description
Session-scoped opaque handles.
Gift is an opaque resource given to a peer by handle, and Cite
if a reference to such a resource. This can be used to represent any
sort of resource that does not pass between client and server directly,
such as open files. They are only valid for a particular RPC session.
Structs§
- Cite
- An reference to a previously-granted opaque handle.
- Gift
- An opaque handle that is granted to the client. The server
owns the resource, and the client obtains a handle to it for
subsequent use with
Gift::cite. - Invalid
Opaque - A stale opaque handle.
- Opaque
Guard - Smart pointer to a registered opaque resource.
Traits§
- Opaque
Resource - A value that can be registered in a session’s opaque-object table.