pub struct Builder { /* private fields */ }Implementations§
Source§impl Builder
impl Builder
pub fn default_packet_id(self, id: i32) -> Self
pub fn max_payload_size(self, size: usize) -> Self
pub fn build<T>(self, io: T) -> Connection<T>
Trait Implementations§
Source§impl Ord for Builder
impl Ord for Builder
Source§impl PartialOrd for Builder
impl PartialOrd for Builder
impl Copy for Builder
impl Eq for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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