This commit is contained in:
Adam Ierymenko 2023-01-03 12:46:04 -05:00
commit 9430d336f9

View file

@ -211,17 +211,17 @@ impl<Inner: InnerProtocolLayer + ?Sized + 'static> ApplicationLayer for VL1Servi
} }
} }
#[inline(always)] #[inline]
fn local_socket_is_valid(&self, socket: &Self::LocalSocket) -> bool { fn local_socket_is_valid(&self, socket: &Self::LocalSocket) -> bool {
socket.is_valid() socket.is_valid()
} }
#[inline(always)] #[inline]
fn load_node_identity(&self) -> Option<Verified<Identity>> { fn load_node_identity(&self) -> Option<Verified<Identity>> {
self.vl1_data_storage.load_node_identity() self.vl1_data_storage.load_node_identity()
} }
#[inline(always)] #[inline]
fn save_node_identity(&self, id: &Verified<Identity>) -> bool { fn save_node_identity(&self, id: &Verified<Identity>) -> bool {
self.vl1_data_storage.save_node_identity(id) self.vl1_data_storage.save_node_identity(id)
} }
@ -231,6 +231,7 @@ impl<Inner: InnerProtocolLayer + ?Sized + 'static> ApplicationLayer for VL1Servi
self.buffer_pool.get() self.buffer_pool.get()
} }
#[inline]
fn wire_send( fn wire_send(
&self, &self,
endpoint: &Endpoint, endpoint: &Endpoint,