pub struct SealIntent {
pub sign: bool,
pub seal: bool,
}Expand description
Whether a response must be signed and/or sealed. Computed once at accept
from the session/request so it is never threaded by hand.
Fields§
§sign: boolSign the response ([MS-SMB2] §3.3.4.1.1).
seal: boolEncrypt (seal) the response ([MS-SMB2] §3.3.4.1.4).
Trait Implementations§
Source§impl Clone for SealIntent
impl Clone for SealIntent
Source§fn clone(&self) -> SealIntent
fn clone(&self) -> SealIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SealIntent
Source§impl Debug for SealIntent
impl Debug for SealIntent
Source§impl Default for SealIntent
impl Default for SealIntent
Source§fn default() -> SealIntent
fn default() -> SealIntent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SealIntent
impl RefUnwindSafe for SealIntent
impl Send for SealIntent
impl Sync for SealIntent
impl Unpin for SealIntent
impl UnsafeUnpin for SealIntent
impl UnwindSafe for SealIntent
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