Macro mesh_protobuf::os_resource

source ยท
macro_rules! os_resource {
    ($ty:ty, $resource_ty:ty) => { ... };
}
Expand description

Implements DefaultEncoding for OS resources.

The specified type must implement From<R> and Into<R>, where R is the underlying OS resource type (such as OwnedFd or OwnedHandle).