libhermit-rs 0.6.3

A Rust-based library operating system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::executor::network::Handle;
use crate::fd::ObjectInterface;

#[derive(Debug, Clone)]
pub struct Socket(Handle);

impl Socket {
	pub fn new(handle: Handle) -> Self {
		Self(handle)
	}
}

impl ObjectInterface for Socket {}