mirror of
https://github.com/arampoire/nut-rs.git
synced 2025-12-01 00:30:23 -05:00
Add support for running commands (#33)
This commit is contained in:
parent
35d40d3111
commit
821414d9cd
4 changed files with 48 additions and 8 deletions
|
|
@ -213,6 +213,9 @@ macro_rules! impl_sentences {
|
|||
/// 2. the decoded sentence
|
||||
///
|
||||
/// ```
|
||||
/// # #[macro_use] extern crate rups;
|
||||
/// # fn main() {
|
||||
/// # #[cfg(test)]
|
||||
/// test_encode_decode!(
|
||||
/// ["GET", "VAR", "nutdev", "test.var"] <=>
|
||||
/// Sentences::QueryVar {
|
||||
|
|
@ -220,6 +223,7 @@ macro_rules! impl_sentences {
|
|||
/// var_name: "test.var".into(),
|
||||
/// }
|
||||
/// );
|
||||
/// # }
|
||||
/// ```
|
||||
#[allow(unused_macros)]
|
||||
macro_rules! test_encode_decode {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue