Struct s2n_quic_tls::connection::ModifiedBuilder
source · pub struct ModifiedBuilder<F, B>{ /* private fields */ }
Expand description
Produces new connections from a builder, then modifies them.
Can be used to apply connection-level config, for example
when using a crate::pool::ConfigPool
.
Implementations§
source§impl<F, B> ModifiedBuilder<F, B>
impl<F, B> ModifiedBuilder<F, B>
pub fn new(builder: B, modifier: F) -> ModifiedBuilder<F, B>
Trait Implementations§
source§impl<F, B> Builder for ModifiedBuilder<F, B>
impl<F, B> Builder for ModifiedBuilder<F, B>
source§impl<F, B> Clone for ModifiedBuilder<F, B>
impl<F, B> Clone for ModifiedBuilder<F, B>
source§fn clone(&self) -> ModifiedBuilder<F, B>
fn clone(&self) -> ModifiedBuilder<F, B>
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 moreAuto Trait Implementations§
impl<F, B> Freeze for ModifiedBuilder<F, B>
impl<F, B> RefUnwindSafe for ModifiedBuilder<F, B>where
B: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, B> Send for ModifiedBuilder<F, B>
impl<F, B> Sync for ModifiedBuilder<F, B>
impl<F, B> Unpin for ModifiedBuilder<F, B>
impl<F, B> UnwindSafe for ModifiedBuilder<F, B>where
B: UnwindSafe,
F: UnwindSafe,
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