pub struct PingFoxConfig {
pub socket_type: SocketType,
pub timeout: Duration,
pub channel_size: usize,
}Expand description
The ping-fox configuration structure.
Fields§
§socket_type: SocketTypeThe type of socket used for network communication.
timeout: DurationTimeout for receive calls on a socket.
channel_size: usizeSize of the communiation channel used between a PingSender and a PingReceiver.
Auto Trait Implementations§
impl Freeze for PingFoxConfig
impl RefUnwindSafe for PingFoxConfig
impl Send for PingFoxConfig
impl Sync for PingFoxConfig
impl Unpin for PingFoxConfig
impl UnsafeUnpin for PingFoxConfig
impl UnwindSafe for PingFoxConfig
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