Add #inline to BackendKeyData simple methods

This commit is contained in:
Ryan Leckey 2019-07-15 11:17:53 -07:00
parent 8e7a940201
commit 282050d17f

View File

@ -12,10 +12,12 @@ pub struct BackendKeyData {
}
impl BackendKeyData {
#[inline]
pub fn process_id(&self) -> u32 {
self.process_id
}
#[inline]
pub fn secret_key(&self) -> u32 {
self.secret_key
}