We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
as_unix_socket
1 parent b75bd43 commit 9c0b0e9Copy full SHA for 9c0b0e9
src/aero_kernel/src/fs/ext2/mod.rs
@@ -528,6 +528,13 @@ impl INodeInterface for INode {
528
529
return Err(FileSystemError::NotSupported);
530
}
531
+
532
+ fn as_unix_socket(&self) -> super::Result<Arc<dyn INodeInterface>> {
533
+ self.proxy
534
+ .as_ref()
535
+ .ok_or(FileSystemError::NotSocket)
536
+ .cloned()
537
+ }
538
539
540
pub struct DirEntryIter {
0 commit comments