Struct s2n_quic_core::datagram::default::EndpointBuilder
source · pub struct EndpointBuilder { /* private fields */ }
Expand description
A builder for the default datagram endpoint
Implementations§
source§impl EndpointBuilder
impl EndpointBuilder
Builder for the datagram endpoint
pub fn with_send_capacity(self, capacity: usize) -> Result<Self, BuilderError>
pub fn with_recv_capacity(self, capacity: usize) -> Result<Self, BuilderError>
pub fn build(self) -> Result<Endpoint, Infallible>
Trait Implementations§
source§impl Debug for EndpointBuilder
impl Debug for EndpointBuilder
source§impl Default for EndpointBuilder
impl Default for EndpointBuilder
source§fn default() -> EndpointBuilder
fn default() -> EndpointBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EndpointBuilder
impl RefUnwindSafe for EndpointBuilder
impl Send for EndpointBuilder
impl Sync for EndpointBuilder
impl Unpin for EndpointBuilder
impl UnwindSafe for EndpointBuilder
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