pub struct A2fBuilder<'a, State: BuilderState> { /* private fields */ }
Implementations§
Source§impl<'a> A2fBuilder<'a, Initial>
impl<'a> A2fBuilder<'a, Initial>
pub fn new() -> Self
pub fn build_preamble( self, agent_version: Version, salt: Bits256, pbkdf2_iterations: u32, challenge_nonce: Bits256, ) -> A2fBuilder<'a, PlainReady>
pub fn build_auth_result( self, success_auth: bool, session_id: SessionId, ) -> A2fBuilder<'a, PlainReady>
pub fn build_error( self, error_type: A2fErrorType, ) -> A2fBuilder<'a, EncryptionReady>
pub fn build_activity_output( self, activity_id: ActivityId, output: &[u8], ) -> A2fBuilder<'a, EncryptionReady>
pub fn build_activity_create_terminal( self, activity_id: ActivityId, ) -> A2fBuilder<'a, EncryptionReady>
Source§impl A2fBuilder<'_, EncryptionReady>
impl A2fBuilder<'_, EncryptionReady>
pub fn to_flatbuffers_encrypted( self, encryptor: &Cryptographer, ) -> Result<A2fRootBlob, WebtermError>
Source§impl A2fBuilder<'_, PlainReady>
impl A2fBuilder<'_, PlainReady>
pub fn to_flatbuffers_plain(self) -> A2fRootBlob
Auto Trait Implementations§
impl<'a, State> Freeze for A2fBuilder<'a, State>where
State: Freeze,
impl<'a, State> RefUnwindSafe for A2fBuilder<'a, State>where
State: RefUnwindSafe,
impl<'a, State> Send for A2fBuilder<'a, State>where
State: Send,
impl<'a, State> Sync for A2fBuilder<'a, State>where
State: Sync,
impl<'a, State> Unpin for A2fBuilder<'a, State>where
State: Unpin,
impl<'a, State> UnwindSafe for A2fBuilder<'a, State>where
State: UnwindSafe,
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