Struct s2n_quic_transport::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
sourceimpl Clone for Production
impl Clone for Production
sourcefn clone(&self) -> Production
fn clone(&self) -> Production
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 Production
impl Debug for Production
sourceimpl Default for Production
impl Default for Production
sourcefn default() -> Production
fn default() -> Production
Returns the “default value” for a type. Read more
sourceimpl Formatter for Production
impl Formatter for Production
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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 RefUnwindSafe for Production
impl Send for Production
impl Sync for Production
impl Unpin for Production
impl UnwindSafe for Production
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