pub struct PortBuilder<'a>(/* private fields */);
Expand description
Port builder.
This type is intended to be created by From
trait implementations, and
to be passed to Builder::port
method.
Trait Implementations§
source§impl<'a> Clone for PortBuilder<'a>
impl<'a> Clone for PortBuilder<'a>
source§fn clone(&self) -> PortBuilder<'a>
fn clone(&self) -> PortBuilder<'a>
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 moresource§impl<'a> Debug for PortBuilder<'a>
impl<'a> Debug for PortBuilder<'a>
source§impl Default for PortBuilder<'_>
impl Default for PortBuilder<'_>
source§impl<'a> From<&'a String> for PortBuilder<'a>
Available on crate feature alloc
only.
impl<'a> From<&'a String> for PortBuilder<'a>
Available on crate feature
alloc
only.source§impl<'a> From<&'a str> for PortBuilder<'a>
impl<'a> From<&'a str> for PortBuilder<'a>
source§impl<'a> From<u16> for PortBuilder<'a>
impl<'a> From<u16> for PortBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PortBuilder<'a>
impl<'a> RefUnwindSafe for PortBuilder<'a>
impl<'a> Send for PortBuilder<'a>
impl<'a> Sync for PortBuilder<'a>
impl<'a> Unpin for PortBuilder<'a>
impl<'a> UnwindSafe for PortBuilder<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)