Lines Matching refs:metadata
34 metadata: SocketMetadata, field
72 let metadata = SocketMetadata::new( in new() localVariable
85 metadata, in new()
127 if !self.metadata.options.contains(SocketOptions::BLOCK) { in read()
218 fn metadata(&self) -> SocketMetadata { in metadata() method
219 self.metadata.clone() in metadata()
246 metadata: SocketMetadata, field
278 let metadata = SocketMetadata::new( in new() localVariable
291 metadata, in new()
300 ip.port = PORT_MANAGER.get_ephemeral_port(self.metadata.socket_type)?; in do_bind()
303 PORT_MANAGER.bind_port(self.metadata.socket_type, ip.port)?; in do_bind()
349 if let Ok((size, metadata)) = socket.recv_slice(buf) { in read()
352 return (Ok(size), Endpoint::Ip(Some(metadata.endpoint))); in read()
440 fn metadata(&self) -> SocketMetadata { in metadata() method
441 self.metadata.clone() in metadata()
494 metadata: SocketMetadata, field
521 let metadata = SocketMetadata::new( in new() localVariable
535 metadata, in new()
751 let temp_port = PORT_MANAGER.get_ephemeral_port(self.metadata.socket_type)?; in connect()
753 PORT_MANAGER.bind_port(self.metadata.socket_type, temp_port)?; in connect()
856 ip.port = PORT_MANAGER.get_ephemeral_port(self.metadata.socket_type)?; in bind()
860 PORT_MANAGER.bind_port(self.metadata.socket_type, ip.port)?; in bind()
915 let metadata = SocketMetadata::new( in accept() localVariable
920 self.metadata.options, in accept()
927 metadata, in accept()
991 fn metadata(&self) -> SocketMetadata { in metadata() method
992 self.metadata.clone() in metadata()