Struct tss_esapi::attributes::session::SessionAttributesBuilder
source · pub struct SessionAttributesBuilder { /* private fields */ }
Expand description
A builder that is used to create SessionAttributes and a corresponding SessionAttributesMask.
Implementations§
source§impl SessionAttributesBuilder
impl SessionAttributesBuilder
pub const fn new() -> SessionAttributesBuilder
pub fn with_continue_session(self, set: bool) -> Self
pub fn with_audit_exclusive(self, set: bool) -> Self
pub fn with_audit_reset(self, set: bool) -> Self
pub fn with_decrypt(self, set: bool) -> Self
pub fn with_encrypt(self, set: bool) -> Self
pub fn with_audit(self, set: bool) -> Self
pub fn build(self) -> (SessionAttributes, SessionAttributesMask)
Trait Implementations§
source§impl Clone for SessionAttributesBuilder
impl Clone for SessionAttributesBuilder
source§fn clone(&self) -> SessionAttributesBuilder
fn clone(&self) -> SessionAttributesBuilder
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 SessionAttributesBuilder
impl Debug for SessionAttributesBuilder
source§impl Default for SessionAttributesBuilder
impl Default for SessionAttributesBuilder
impl Copy for SessionAttributesBuilder
Auto Trait Implementations§
impl Freeze for SessionAttributesBuilder
impl RefUnwindSafe for SessionAttributesBuilder
impl Send for SessionAttributesBuilder
impl Sync for SessionAttributesBuilder
impl Unpin for SessionAttributesBuilder
impl UnwindSafe for SessionAttributesBuilder
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