pub struct A2fPlainAuthPreamble<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
Source§impl<'a> A2fPlainAuthPreamble<'a>
impl<'a> A2fPlainAuthPreamble<'a>
pub const VT_AGENT_VERSION: VOffsetT = 4u16
pub const VT_SALT: VOffsetT = 6u16
pub const VT_PBKDF2_ITERATIONS: VOffsetT = 8u16
pub const VT_CHALLENGE_NONCE: VOffsetT = 10u16
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 A2fPlainAuthPreambleArgs<'args>, ) -> WIPOffset<A2fPlainAuthPreamble<'bldr>>
pub fn agent_version(&self) -> Option<&'a Version>
pub fn salt(&self) -> Option<&'a Bits256>
pub fn pbkdf2_iterations(&self) -> u32
pub fn challenge_nonce(&self) -> Option<Vector<'a, u8>>
Trait Implementations§
Source§impl<'a> Clone for A2fPlainAuthPreamble<'a>
impl<'a> Clone for A2fPlainAuthPreamble<'a>
Source§fn clone(&self) -> A2fPlainAuthPreamble<'a>
fn clone(&self) -> A2fPlainAuthPreamble<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for A2fPlainAuthPreamble<'_>
impl Debug for A2fPlainAuthPreamble<'_>
Source§impl<'a> Follow<'a> for A2fPlainAuthPreamble<'a>
impl<'a> Follow<'a> for A2fPlainAuthPreamble<'a>
Source§impl<'a> PartialEq for A2fPlainAuthPreamble<'a>
impl<'a> PartialEq for A2fPlainAuthPreamble<'a>
Source§impl Verifiable for A2fPlainAuthPreamble<'_>
impl Verifiable for A2fPlainAuthPreamble<'_>
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 A2fPlainAuthPreamble<'a>
impl<'a> StructuralPartialEq for A2fPlainAuthPreamble<'a>
Auto Trait Implementations§
impl<'a> Freeze for A2fPlainAuthPreamble<'a>
impl<'a> RefUnwindSafe for A2fPlainAuthPreamble<'a>
impl<'a> Send for A2fPlainAuthPreamble<'a>
impl<'a> Sync for A2fPlainAuthPreamble<'a>
impl<'a> Unpin for A2fPlainAuthPreamble<'a>
impl<'a> UnwindSafe for A2fPlainAuthPreamble<'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