udp-request 0.3.16

A simple UDP request library for sending and receiving UDP packets, designed to handle network communication in Rust applications.
Documentation
1
2
3
4
5
6
7
use crate::*;

/// A type alias for the result of a UDP request.
pub type RequestResult = Result<BoxResponseTrait, RequestError>;

/// A type alias for a boxed `RequestTrait` object.
pub type BoxRequestTrait = Box<dyn RequestTrait<RequestResult = RequestResult>>;