Struct s2n_quic_transport::connection::close::Development
source · [−]pub struct Development;
Expand description
A formatter that passes errors through, unmodified
WARNING: This formatter should only be used in application development, as it can leak potentially sensitive information to the peer.
Trait Implementations
sourceimpl Clone for Development
impl Clone for Development
sourcefn clone(&self) -> Development
fn clone(&self) -> Development
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 Development
impl Debug for Development
sourceimpl Default for Development
impl Default for Development
sourcefn default() -> Development
fn default() -> Development
Returns the “default value” for a type. Read more
sourceimpl Formatter for Development
impl Formatter for Development
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 Development
Auto Trait Implementations
impl RefUnwindSafe for Development
impl Send for Development
impl Sync for Development
impl Unpin for Development
impl UnwindSafe for Development
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more