Struct rustls::server::hs::ExtensionProcessing
source · pub(super) struct ExtensionProcessing {
pub(super) exts: Vec<ServerExtension>,
pub(super) send_ticket: bool,
}
Fields§
§exts: Vec<ServerExtension>
§send_ticket: bool
Implementations§
source§impl ExtensionProcessing
impl ExtensionProcessing
pub(super) fn new() -> Self
pub(super) fn process_common( &mut self, config: &ServerConfig, cx: &mut Context<'_, ServerConnectionData>, ocsp_response: &mut Option<&[u8]>, sct_list: &mut Option<&[u8]>, hello: &ClientHelloPayload, resumedata: Option<&ServerSessionValue>, extra_exts: Vec<ServerExtension>, ) -> Result<(), Error>
pub(super) fn process_tls12( &mut self, config: &ServerConfig, hello: &ClientHelloPayload, using_ems: bool, )
Trait Implementations§
source§impl Default for ExtensionProcessing
impl Default for ExtensionProcessing
source§fn default() -> ExtensionProcessing
fn default() -> ExtensionProcessing
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtensionProcessing
impl RefUnwindSafe for ExtensionProcessing
impl Send for ExtensionProcessing
impl Sync for ExtensionProcessing
impl Unpin for ExtensionProcessing
impl UnwindSafe for ExtensionProcessing
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