pub struct DefaultInstaller;Expand description
The installer a leg uses when it was given none.
TransportProfile::into_config and deliberately nothing more. Every
field the profile does not name is therefore
quinn::TransportConfig::default()’s — quinn’s own choice rather than
one this crate invented and would have to keep in step with a
dependency upgrade.
Trait Implementations§
Source§impl Clone for DefaultInstaller
impl Clone for DefaultInstaller
Source§fn clone(&self) -> DefaultInstaller
fn clone(&self) -> DefaultInstaller
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DefaultInstaller
Source§impl Debug for DefaultInstaller
impl Debug for DefaultInstaller
Source§impl Default for DefaultInstaller
impl Default for DefaultInstaller
Source§fn default() -> DefaultInstaller
fn default() -> DefaultInstaller
Returns the “default value” for a type. Read more
Source§impl TransportInstaller for DefaultInstaller
impl TransportInstaller for DefaultInstaller
Source§fn build(
&self,
profile: &TransportProfile,
) -> Result<TransportConfig, TransportProfileError>
fn build( &self, profile: &TransportProfile, ) -> Result<TransportConfig, TransportProfileError>
Turn
profile into the config this leg will install. Read moreAuto Trait Implementations§
impl Freeze for DefaultInstaller
impl RefUnwindSafe for DefaultInstaller
impl Send for DefaultInstaller
impl Sync for DefaultInstaller
impl Unpin for DefaultInstaller
impl UnsafeUnpin for DefaultInstaller
impl UnwindSafe for DefaultInstaller
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