pub struct DgramParam {
pub port: u16,
pub cookie: u64,
}Expand description
The parameter of a dgram/1 answer: the UDP port of the outlet in
exactly 4 hexadecimal digits, then a cookie in exactly 16 hexadecimal
digits.
Fields§
§port: u16The UDP port of the outlet.
The random value that each datagram carries.
Implementations§
Source§impl DgramParam
impl DgramParam
Trait Implementations§
Source§impl Clone for DgramParam
impl Clone for DgramParam
impl Copy for DgramParam
Source§impl Debug for DgramParam
impl Debug for DgramParam
impl Eq for DgramParam
Source§impl PartialEq for DgramParam
impl PartialEq for DgramParam
impl StructuralPartialEq for DgramParam
Auto Trait Implementations§
impl Forget for DgramParam
impl Freeze for DgramParam
impl Move for DgramParam
impl RefUnwindSafe for DgramParam
impl Send for DgramParam
impl Sync for DgramParam
impl Unpin for DgramParam
impl UnsafeUnpin for DgramParam
impl UnwindSafe for DgramParam
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