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
sourceimpl 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
sourceimpl Clone for SessionAttributesBuilder
impl Clone for SessionAttributesBuilder
sourcefn clone(&self) -> SessionAttributesBuilder
fn clone(&self) -> SessionAttributesBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SessionAttributesBuilder
impl Debug for SessionAttributesBuilder
sourceimpl Default for SessionAttributesBuilder
impl Default for SessionAttributesBuilder
impl Copy for SessionAttributesBuilder
Auto Trait Implementations
impl RefUnwindSafe for SessionAttributesBuilder
impl Send for SessionAttributesBuilder
impl Sync for SessionAttributesBuilder
impl Unpin for SessionAttributesBuilder
impl UnwindSafe for SessionAttributesBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more