pub struct HBFI {
pub request_pid: PublicIdentityInterface,
pub response_pid: PublicIdentity,
pub req: BFI,
pub res: BFI,
pub app: BFI,
pub m0d: BFI,
pub fun: BFI,
pub arg: BFI,
pub frm: u64,
}Fields§
§request_pid: PublicIdentityInterface§response_pid: PublicIdentity§req: BFI§res: BFI§app: BFI§m0d: BFI§fun: BFI§arg: BFI§frm: u64Implementations§
Source§impl HBFI
impl HBFI
pub fn new( request_pid: PublicIdentityInterface, response_pid: PublicIdentity, app: &str, m0d: &str, fun: &str, arg: &str, ) -> Result<HBFI>
pub fn to_bfis(&self) -> BFIS
pub fn offset(self, frm: u64) -> Self
pub fn encrypt_for(&self, request_pid: PublicIdentityInterface) -> Result<Self>
pub fn cleartext_repr(&self) -> Result<Self>
pub fn from_bytes(data: &[u8]) -> Result<Self>
pub fn as_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Ord for HBFI
impl Ord for HBFI
Source§impl PartialOrd for HBFI
impl PartialOrd for HBFI
impl Eq for HBFI
impl StructuralPartialEq for HBFI
Auto Trait Implementations§
impl Freeze for HBFI
impl RefUnwindSafe for HBFI
impl Send for HBFI
impl Sync for HBFI
impl Unpin for HBFI
impl UnwindSafe for HBFI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more