MCPcopy Index your code

hub / github.com/diondokter/at-commands / functions

Functions70 in github.com/diondokter/at-commands

↓ 24 callersMethodexpect_identifier
Tries reading an identifier
src/parser.rs:50
↓ 20 callersMethodtup_cat
(self, c: C)
src/tuple_concat.rs:10
↓ 18 callersMethodtry_append_data
Tries to append data to the buffer. If it won't fit, it silently fails and won't copy the data. The index field is incremented no matter what.
src/builder.rs:130
↓ 15 callersMethodfinish
Finish parsing the command and get the results
src/parser.rs:326
↓ 14 callersMethodexpect_int_parameter
Tries reading an int parameter
src/parser.rs:337
↓ 14 callersMethodtrim_space
Moves the internal buffer index over the next bit of space characters, if any
src/parser.rs:108
↓ 13 callersMethodnamed
Set the name of the command.
src/builder.rs:153
↓ 12 callersMethodexpect_optional_int_parameter
Tries reading an int parameter
src/parser.rs:473
↓ 11 callersMethodwith_int_parameter
Add an integer parameter.
src/builder.rs:167
↓ 10 callersMethodfinish
Finishes the builder. When Ok, it returns a slice with the built command. The slice points to the same memory as the buffer, but is only as long as i
src/builder.rs:239
↓ 8 callersMethodexpect_optional_identifier
Tries reading an optional identifier.
src/parser.rs:73
↓ 8 callersMethodtrim_whitespace
Moves the internal buffer index over the next byte which is not a whitespace. The white space is defined in [core::primitive::u8::is_ascii_whitespace]
src/parser.rs:127
↓ 7 callersMethodexpect_string_parameter
Tries reading a string parameter
src/parser.rs:371
↓ 6 callersMethodexpect_optional_string_parameter
Tries reading a string parameter
src/parser.rs:497
↓ 6 callersMethodwith_empty_parameter
Add a comma, representing an unset optional parameter.
src/builder.rs:203
↓ 4 callersMethodexpect_raw_string_parameter
Tries reading a raw string parameter (non-quoted string separated by commas)
src/parser.rs:435
↓ 4 callersMethodfinish_with
Finishes the builder. With the terminator variable, you can decide how to end the command. Normally this is `\r\n`. ```rust use at_commands::builder
src/builder.rs:268
↓ 4 callersFunctionget_ascii
Helper function that given a byte returns the corresponding ASCII nibble (4 bytes) for the given [byte]. [byte] must be between 0 and 15 inclusive
src/formatter.rs:88
↓ 2 callersFunctionparse_byte_to_hex
Given a byte returns a byte slice which contains the ASCII hex representation.
src/formatter.rs:99
↓ 2 callersMethodparse_int_parameter
(&self)
src/parser.rs:207
↓ 2 callersMethodparse_raw_string
(&self)
src/parser.rs:275
↓ 2 callersMethodparse_raw_string_parameter
(&self)
src/parser.rs:293
↓ 2 callersMethodparse_string_parameter
(&self)
src/parser.rs:247
↓ 2 callersMethodwith_optional_int_parameter
Add an optional integer parameter.
src/builder.rs:187
↓ 2 callersMethodwith_string_parameter
Add a string parameter
src/builder.rs:178
↓ 1 callersMethodfind_end_of_int_parameter
Finds the index of the character after the int parameter or the end of the data.
src/parser.rs:144
↓ 1 callersMethodfind_end_of_raw_string
Finds the index of the control character after the non-quoted string or the end of the data.
src/parser.rs:182
↓ 1 callersMethodfind_end_of_raw_string_parameter
Finds the index of the character after the raw string parameter (comma or end of data).
src/parser.rs:198
↓ 1 callersMethodfind_end_of_string_parameter
Finds the index of the character after the string parameter or the end of the data.
src/parser.rs:161
↓ 1 callersFunctionparse_int
Parses an int
src/formatter.rs:54
↓ 1 callersMethodwith_optional_string_parameter
Add an optional string parameter.
src/builder.rs:195
↓ 1 callersMethodwith_raw_parameter
Add an unformatted parameter
src/builder.rs:209
↓ 1 callersMethodwith_rax_hex_parameter
Add the given value to the array using the hex format for the bytes
src/builder.rs:216
↓ 1 callersFunctionwrite_int
Writes ascii bytes to the buffer to represent the given int value. Returns the slice of the buffer that was written to. It can be used as a value or
src/formatter.rs:11
Methodcreate_execute
Creates a builder for an test execute. The given buffer is used to build the command in and must be big enough to contain it.
src/builder.rs:108
Methodcreate_query
Creates a builder for a query command. The given buffer is used to build the command in and must be big enough to contain it.
src/builder.rs:68
Methodcreate_set
Creates a builder for a set command. The given buffer is used to build the command in and must be big enough to contain it.
src/builder.rs:88
Methodcreate_test
Creates a builder for a test command. The given buffer is used to build the command in and must be big enough to contain it.
src/builder.rs:48
Methodexpect_optional_raw_string
Tries reading a non-parameter, non-quoted string
src/parser.rs:519
Methodexpect_optional_raw_string_parameter
Tries reading an optional raw string parameter (non-quoted string separated by commas)
src/parser.rs:541
Methodexpect_raw_string
Tries reading a non-parameter, non-quoted string
src/parser.rs:403
Methodparse
Start parsing the command
src/parser.rs:39
Functionraw_string_parameters_includes_non_ascii_characters
()
src/parser.rs:761
Functionstring_param_at_end
()
src/parser.rs:619
Functiontest_buffer_exact_size
()
src/builder.rs:394
Functiontest_buffer_too_short
()
src/builder.rs:381
Functiontest_byte_to_hex
()
src/formatter.rs:141
Functiontest_byte_to_hex_invalid
()
src/formatter.rs:152
Functiontest_command
()
src/builder.rs:330
Functiontest_execute
()
src/builder.rs:370
Functiontest_hex_parameter
()
src/builder.rs:490
Functiontest_ok
()
src/parser.rs:575
Functiontest_optional
()
src/builder.rs:434
Functiontest_optional_identifier
()
src/parser.rs:680
Functiontest_optional_identifier_multiple_cases
()
src/parser.rs:720
Functiontest_optional_int_parameter_all_present
()
src/parser.rs:632
Functiontest_optional_int_parameter_end_not_present
()
src/parser.rs:664
Functiontest_optional_int_parameter_middle_not_present
()
src/parser.rs:648
Functiontest_parse_byte_to_hex
()
src/formatter.rs:157
Functiontest_parse_int
()
src/formatter.rs:124
Functiontest_positive_int_param
()
src/parser.rs:591
Functiontest_query
()
src/builder.rs:341
Functiontest_raw_parameter
()
src/builder.rs:478
Functiontest_raw_string_parameter
()
src/parser.rs:742
Functiontest_set
()
src/builder.rs:352
Functiontest_terminator
()
src/builder.rs:423
Functiontest_trim_whitespaces
()
src/parser.rs:780
Functiontest_trim_whitespaces_no_whitespace
()
src/parser.rs:802
Functiontest_whitespace
()
src/parser.rs:603
Functiontest_write_int
()
src/formatter.rs:111