Struct s2n_quic_core::connection::close::Production
source · pub struct Production;
Expand description
A formatter that removes potentially sensitive information
The following is performed:
- Reasons and frame_types are hidden
- INTERNAL_ERROR is transformed into PROTOCOL_VIOLATION
- Application codes are hidden in early (initial, handshake) packets
- Crypto (TLS) alerts are transformed into HANDSHAKE_FAILURE
Trait Implementations§
source§impl Clone for Production
impl Clone for Production
source§fn clone(&self) -> Production
fn clone(&self) -> Production
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 Production
impl Debug for Production
source§impl Default for Production
impl Default for Production
source§fn default() -> Production
fn default() -> Production
Returns the “default value” for a type. Read more
source§impl Formatter for Production
impl Formatter for Production
source§fn format_transport_error(
&self,
_context: &Context<'_>,
error: Error
) -> ConnectionClose<'_>
fn format_transport_error( &self, _context: &Context<'_>, error: Error ) -> ConnectionClose<'_>
Formats a transport error for use in 1-RTT (application data) packets
source§fn format_application_error(
&self,
_context: &Context<'_>,
error: Error
) -> ConnectionClose<'_>
fn format_application_error( &self, _context: &Context<'_>, error: Error ) -> ConnectionClose<'_>
Formats an application error for use in 1-RTT (application data) packets
source§fn format_early_transport_error(
&self,
context: &Context<'_>,
error: Error
) -> ConnectionClose<'_>
fn format_early_transport_error( &self, context: &Context<'_>, error: Error ) -> ConnectionClose<'_>
Formats a transport error for use in early (initial, handshake) packets
source§fn format_early_application_error(
&self,
_context: &Context<'_>,
_error: Error
) -> ConnectionClose<'_>
fn format_early_application_error( &self, _context: &Context<'_>, _error: Error ) -> ConnectionClose<'_>
Formats an application error for use in early (initial, handshake) packets
impl Copy for Production
Auto Trait Implementations§
impl Freeze for Production
impl RefUnwindSafe for Production
impl Send for Production
impl Sync for Production
impl Unpin for Production
impl UnwindSafe for Production
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