pub struct PingBuilder { /* private fields */ }
Expand description
Builder for Ping
.
Implementations§
Source§impl PingBuilder
impl PingBuilder
Sourcepub fn build(&self) -> Result<Ping, BuilderError>
pub fn build(&self) -> Result<Ping, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Trait Implementations§
Source§impl Clone for PingBuilder
impl Clone for PingBuilder
Source§fn clone(&self) -> PingBuilder
fn clone(&self) -> PingBuilder
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 Freeze for PingBuilder
impl !RefUnwindSafe for PingBuilder
impl !Send for PingBuilder
impl !Sync for PingBuilder
impl Unpin for PingBuilder
impl !UnwindSafe for PingBuilder
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