Crate otter_api_tests[−][src]
Re-exports
pub use imports::*; | |
pub use reqwest; |
Modules
| authproofs | |
| base_misc | |
| btree_map | A map based on a B-Tree. |
| btree_set | A set based on a B-Tree. |
| bundles | |
| childio | |
| cleanup_notify | |
| cmp | Functionality for ordering and comparison. |
| env | Inspection and manipulation of the process’s environment. |
| flexi_logger | A flexible and easy-to-use logger that writes logs to stderr and/or to files or other output streams. |
| fmt | Utilities for formatting and printing |
| fs | Filesystem manipulation operations. |
| geometry | |
| hash_map | A hash map implemented with quadratic probing and SIMD lookup. |
| imports | |
| io | Traits, helpers, and type definitions for core I/O functionality. |
| iter | Composable external iteration. |
| loaded_acl | |
| mpsc | Multi-producer, single-consumer FIFO queue communication primitives. |
| nwtemplates | |
| organise | |
| progress | |
| serde_json | Serde JSON |
| shapelib | |
| str | Unicode string slices. |
| tempfile | Temporary files and directories. |
| thiserror | |
| thread | Native threads. |
| time | Temporal quantification. |
| unistd | Safe wrappers around functions found in libc “unistd.h” header |
| unix | Unix Platform-specific extensions to |
| zcoord | |
| zipfile | An ergonomic API for reading and writing ZIP files. |
Macros
| Debug | Derive macro generating an impl of the trait |
| Hash | Derive macro generating an impl of the trait |
| anyhow | Construct an ad-hoc error from a string or existing non- |
| dbgc | |
| debug | Logs a message at the debug level. |
| define_index_type | Generate the boilerplate for a newtyped index struct, for use with
|
| delegate | |
| deref_to_field | |
| deref_to_field_mut | |
| display_as_debug | |
| display_consequential_impls | |
| ensure | Return early with an error if a condition is not satisfied. |
| ensure_eq | |
| env | Inspects an environment variable at compile time. |
| error | Logs a message at the error level. |
| error_from_losedetails | |
| format_by_fmt_hex | |
| hformat | |
| hformat_as_display | |
| hwrite | |
| if_chain | Macro for writing nested |
| if_let | |
| impl_downcast | Adds downcasting support to traits that extend |
| impl_for_slotmap_key | |
| index_vec | A macro equivalent to the stdlib’s |
| info | Logs a message at the info level. |
| izip | Create an iterator running multiple iterators in lockstep. |
| json | Construct a |
| lazy_static | |
| log | The standard logging macro. |
| log_enabled | Determines if a message logged at the specified level in that module will be logged. |
| matches_doesnot | |
| portmanteau_has | |
| test | |
| throw | Throw an error. |
| trace | Logs a message at the trace level. |
| trace_dbg | |
| usual_wanted_tests | |
| visible_slotmap_key | |
| want | |
| want_failed_internal | |
| want_let | |
| wantok | |
| wants | |
| warn | Logs a message at the warn level. |
Structs
Enums
Constants
Traits
| AccessId | |
| AccountNameOrId | |
| Any | A trait to emulate dynamic typing. |
| AsRawFd | A trait to extract the raw unix file descriptor from an underlying object. |
| Borrow | A trait for borrowing data. |
| Bounded | Numbers which have upper and lower bounds |
| BufRead | A |
| ById | |
| ClampTable | |
| CommandExt | Unix-specific extensions to the |
| ConstantTimeEq | An |
| Context | Provides the |
| Debug |
|
| DebugExt | |
| Deref | Used for immutable dereferencing operations, like |
| DerefMut | Used for mutable dereferencing operations, like in |
| Deserialize | A data structure that can be deserialized from any data format supported by Serde. |
| DeserializeOwned | A data structure that can be deserialized without borrowing any data from the deserializer. |
| Deserializer | A data format that can deserialize any data structure supported by Serde. |
| Digest | The |
| Display | Format trait for an empty format, |
| Downcast | Supports conversion to |
| DynCastExt | Simplifies the use of the |
| EmptyType | |
| Enum | Enum mapping type |
| EnumCount | A trait for capturing the number of variants in Enum. This trait can be autoderived by
|
| EnumMessage | Associates additional pieces of information with an Enum. This can be
autoimplemented by deriving |
| EnumProperty | EnumProperty is a trait that makes it possible to store additional information
with enum variants. This trait is designed to be used with the macro of the same
name in the |
| Error |
|
| ExitStatusExt | Unix-specific extensions to |
| FileExt | Extension trait for |
| FromPrimitive | A generic trait for converting a number to a value. |
| FromStr | Parse a value from a string |
| Hash | A hashable type. |
| Hasher | A trait for hashing an arbitrary stream of bytes. |
| HtmlFormat | |
| HtmlFormatRef | |
| HtmlIteratorExt | |
| IdForById | |
| Index | Used for indexing operations ( |
| IndexMut | Used for indexing operations ( |
| IndexVecITExt | |
| IntoEnumIterator | This trait designates that an |
| IntoRawFd | A trait to express the ability to consume an object and acquire ownership of its raw file descriptor. |
| IoTryClone | |
| IteratorExt | |
| Itertools | An |
| JsonLen | |
| KeyDataExt | Extension trait for |
| LocalFileExt | |
| MetadataExt | Unix-specific extensions to |
| MgmtBundleListExt | |
| MgmtChannelExt | |
| NumCast | An interface for casting between machine scalars. |
| OccultationViewDef | |
| OccultedPieceTrait | |
| OpenOptionsExt | Unix-specific extensions to |
| Optionpiece_specsPieceLabelExt | |
| OrdExt | |
| OsStrExt | Platform-specific extensions to |
| OtterArgsSpec | |
| OutlineTrait | |
| PieceSpec | |
| PieceTrait | |
| PieceXData | |
| PieceXDataStateExt | |
| PlayerAccessSpec | |
| PosPromote | |
| PropagateDid | |
| Read | The |
| ReadBytesExt | Extends |
| ReadDebug | |
| ReadExt | |
| ResultExplodeExt | |
| ResultGenDidExt | |
| ResultTEExt | |
| ResultVoidErrExt | Extensions to |
| ResultVoidExt | Extensions to |
| Rng | An automatically-implemented extension trait on |
| SeekExt | |
| Serialize | A data structure that can be serialized into any data format supported by Serde. |
| SerializeTuple | Returned from |
| Serializer | A data format that can serialize any data structure supported by Serde. |
| SimplePieceSpec | |
| SliceRandom | Extension trait on slices, providing random mutation and sampling methods. |
| SlotmapSparseSecondaryEntryExt | |
| SplitAtDelim | |
| StructOpt | A struct that is converted from command line arguments. |
| Substitutor | |
| Timed | |
| TimedFdReadWrite | |
| TimedRead | |
| TimedWrite | |
| ToPrimitive | A generic trait for converting a value to a number. |
| TryFrom | Simple and safe type conversions that may fail in a controlled
way under some circumstances. It is the reciprocal of |
| TryInto | An attempted conversion that consumes |
| TupleOfLinkKindRefstrExt | |
| VecPieceIdPieceUpdateOpsExt | |
| VecTExt | |
| Write | A trait for objects which are byte-oriented sinks. |
| WriteBytesExt | Extends |
| WriteDebug | |
| _ | A trait for writing or formatting into Unicode-accepting buffers or streams. |
| _ | OS-specific extensions to |
| _ | This trait defines a number of combinator-style methods for use with |
| _ | Key used to access stored values in a slot map. |
| _ | |
| anyhowErrorExt | |
| nixErrorExt |
Functions
| client_periodic_expiry | |
| clock_gettime | Get the time of the specified clock, (see clock_gettime(2)). |
| config | |
| consistency_check | |
| create_occultation | |
| dbgc_helper | |
| default | |
| exit | Terminates the current process with the specified exit code. |
| fmt_hex | |
| fork_something_which_prints | |
| game_flush_task | |
| games_lock | |
| internal_error_bydebug | |
| internal_logic_error | |
| io_copy_interactive | |
| keydata_extract | Underlying extraction function. Fails rather than panicing. |
| load_accounts | |
| load_games | |
| log_config | |
| log_did_to_piece | |
| log_did_to_piece_whoby | |
| logs_periodic_expiry | |
| lookup_token | |
| max | Compares and returns the maximum of two values. |
| min | Compares and returns the minimum of two values. |
| parse_fixed_hex | |
| parse_slice_hex | |
| percent_decode_str | Percent-decode the given string. |
| piece_pri | None => do not render at all |
| player_dasharray | |
| player_num_dasharray | |
| portmanteau_main | |
| prepare_game | |
| prepare_gameserver | |
| prepare_tmpdir | |
| process_all_players_for_account | |
| program_name | |
| raw_angle_transform | |
| recalculate_occultation_piece | |
| record_token | |
| reinvoke_via_bwrap | |
| remove_occultation | |
| repeat_with | Creates a new iterator that repeats elements of type |
| savefilename | |
| set_program_name | |
| setup_core | |
| sleep | Puts the current thread to sleep for at least the specified amount of time. |
| slotkey_parse | |
| slotkey_write | |
| space_rect_attrs | |
| space_table_attrs | |
| svg_circle_path | |
| svg_rectangle_path | |
| svg_rescale_path | |
| synch_logentry | |
| thread_rng | Retrieve the lazily-initialized thread-local random number generator,
seeded by the system. Intended to be used in method chaining style,
e.g. |
| timestring_abbreviate | |
| toml_merge | |
| unreachable | A safe version of |
| utf8_percent_encode | Percent-encode the UTF-8 encoding of the given string. |
| vpiece_decode | |
| zip_eq | Iterate |
Type Definitions
Attribute Macros
| dyn_upcast | |
| enum_dispatch | Annotating a trait or enum definition with an |
| ext | See crate docs for more info. |
| throws |
Derive Macros
| Deserialize | |
| DeserializeFromStr | Deserialize value by using it’s |
| Enum | Procedural derive generating |
| EnumCount | Add a constant |
| EnumIter | Creates a new type that iterates of the variants of an enum. |
| EnumMessage | Add a verbose message to an enum variant. |
| EnumProperty | Add custom properties to enum variants. |
| EnumString | Converts strings to enum variants based on their name. |
| Error | |
| FromPrimitive | Derives |
| IntoStaticStr | Implements |
| Serialize | |
| SerializeDisplay | Serialize value by using it’s |
| StructOpt | Generates the |
| ToPrimitive | Derives |