Struct tlspuffin::put::TlsPutConfig
source · pub struct TlsPutConfig {
pub descriptor: AgentDescriptor,
pub claims: GlobalClaimList<TlsClaim>,
pub authenticate_peer: bool,
pub extract_deferred: Rc<RefCell<Option<TypeShape>>>,
pub use_clear: bool,
}
Expand description
Static configuration for creating a new agent state for the PUT
Fields§
§descriptor: AgentDescriptor
§claims: GlobalClaimList<TlsClaim>
§authenticate_peer: bool
§extract_deferred: Rc<RefCell<Option<TypeShape>>>
§use_clear: bool
Implementations§
source§impl TlsPutConfig
impl TlsPutConfig
pub fn new( agent_descriptor: &AgentDescriptor, claims: &GlobalClaimList<<TLSProtocolBehavior as ProtocolBehavior>::Claim>, options: &PutOptions, ) -> TlsPutConfig
Trait Implementations§
source§impl Clone for TlsPutConfig
impl Clone for TlsPutConfig
source§fn clone(&self) -> TlsPutConfig
fn clone(&self) -> TlsPutConfig
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 moreAuto Trait Implementations§
impl Freeze for TlsPutConfig
impl !RefUnwindSafe for TlsPutConfig
impl !Send for TlsPutConfig
impl !Sync for TlsPutConfig
impl Unpin for TlsPutConfig
impl !UnwindSafe for TlsPutConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.