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§
Source§impl Clone for Development
impl Clone for Development
Source§fn clone(&self) -> Development
fn clone(&self) -> Development
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Development
impl Debug for Development
Source§impl Default for Development
impl Default for Development
Source§fn default() -> Development
fn default() -> Development
Returns the “default value” for a type. Read more
Source§impl Formatter for Development
impl Formatter for Development
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 Development
Auto Trait Implementations§
impl Freeze for Development
impl RefUnwindSafe for Development
impl Send for Development
impl Sync for Development
impl Unpin for Development
impl UnwindSafe for Development
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)