#[non_exhaustive]pub struct AcquisitionControlRequest {
pub command: AcquisitionCommand,
pub packet_size: Option<u32>,
}Expand description
Request payload for the acquisition/control queryable.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command: AcquisitionCommandStart or stop.
packet_size: Option<u32>For Start: the GVSP packet size to use, as a ceiling the service’s
path probe stays under. Absent, the service negotiates one from the
NIC’s MTU. A size the user measured for their link is how they get
past a link the negotiation misjudges (issue #112).
Implementations§
Source§impl AcquisitionControlRequest
impl AcquisitionControlRequest
Sourcepub fn new(command: AcquisitionCommand) -> Self
pub fn new(command: AcquisitionCommand) -> Self
command with the service’s own choice of packet size.
Trait Implementations§
Source§impl Clone for AcquisitionControlRequest
impl Clone for AcquisitionControlRequest
Source§impl Debug for AcquisitionControlRequest
impl Debug for AcquisitionControlRequest
Source§impl<'de> Deserialize<'de> for AcquisitionControlRequest
impl<'de> Deserialize<'de> for AcquisitionControlRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AcquisitionControlRequest
impl RefUnwindSafe for AcquisitionControlRequest
impl Send for AcquisitionControlRequest
impl Sync for AcquisitionControlRequest
impl Unpin for AcquisitionControlRequest
impl UnsafeUnpin for AcquisitionControlRequest
impl UnwindSafe for AcquisitionControlRequest
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