pub struct A2fRoot<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
Source§impl<'a> A2fRoot<'a>
impl<'a> A2fRoot<'a>
pub const VT_FORMAT: VOffsetT = 4u16
pub const VT_IV: VOffsetT = 6u16
pub const VT_PLAIN_MESSAGE_TYPE: VOffsetT = 8u16
pub const VT_PLAIN_MESSAGE: VOffsetT = 10u16
pub const VT_ENCRYPTED_PAYLOAD: VOffsetT = 12u16
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args A2fRootArgs<'args>, ) -> WIPOffset<A2fRoot<'bldr>>
pub fn format(&self) -> A2fMessageFormat
pub fn iv(&self) -> Option<&'a Bits96>
pub fn plain_message_type(&self) -> A2fPlainMessage
pub fn plain_message(&self) -> Option<Table<'a>>
pub fn encrypted_payload(&self) -> Option<Vector<'a, u8>>
pub fn plain_message_as_auth_preamble(&self) -> Option<A2fPlainAuthPreamble<'a>>
pub fn plain_message_as_auth_result(&self) -> Option<A2fPlainAuthResult<'a>>
Trait Implementations§
Source§impl Verifiable for A2fRoot<'_>
impl Verifiable for A2fRoot<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for A2fRoot<'a>
impl<'a> StructuralPartialEq for A2fRoot<'a>
Auto Trait Implementations§
impl<'a> Freeze for A2fRoot<'a>
impl<'a> RefUnwindSafe for A2fRoot<'a>
impl<'a> Send for A2fRoot<'a>
impl<'a> Sync for A2fRoot<'a>
impl<'a> Unpin for A2fRoot<'a>
impl<'a> UnwindSafe for A2fRoot<'a>
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