pub fn convert_node_proxy<T: Proxy>(proxy: NodeProxy) -> T
Expand description
Converts a generic fio::NodeProxy
to either fio::FileProxy
or fio::DirectoryProxy
.
WARNING: This function does not verify that the conversion is valid.
pub fn convert_node_proxy<T: Proxy>(proxy: NodeProxy) -> T
Converts a generic fio::NodeProxy
to either fio::FileProxy
or fio::DirectoryProxy
.
WARNING: This function does not verify that the conversion is valid.