Module prelude Copy item path Source pub use crate::stats::mean ;
pub use crate::stats::calculate_column_stat ;
pub use crate::stats::standard_deviation ;
pub use crate::version::ProtocolVersion ;
pub use crate::packets::TofPacket ;
pub use crate::packets::TofPackable ;
pub use crate::packets::TofPacketType ;
pub use crate::io::parsers::parse_u8 ;
pub use crate::io::parsers::parse_u16 ;
pub use crate::io::parsers::parse_u32 ;
pub use crate::io::parsers::parse_u64 ;
pub use crate::io::parsers::parse_string ;
pub use crate::io::parsers::u8_to_u16 ;
pub use crate::constants::NWORDS ;
pub use crate::constants::NCHN ;
pub use crate::errors::SerializationError ;
pub use crate::errors::AnalysisError ;
pub use crate::errors::UserError ;
pub use crate::constants ::*;
pub use crate::errors ::*;
pub use crate::io ::*;
pub use crate::io::parsers ::*;
pub use crate::io::caraspace ::*;
pub use crate::io::serialization ::*;
pub use crate::events ::*;
pub use crate::packets ::*;
pub use crate::database ::*;
pub use crate::calibration::tof ::*;
pub use crate::monitoring ::*;
pub use crate::tof ::*;
pub use crate::tracker ::*;
pub use crate::tof::algorithms ::*;
env Inspection and manipulation of the process’s environment. fmt Utilities for formatting and printing String
s. fs Filesystem manipulation operations. io Traits, helpers, and type definitions for core I/O functionality. thread Native threads. env Inspects an environment variable at compile time. expand_and_test_enum A simple helper macro adding an as_str function
as well as the Display method to any enum. moniseries Implements the moniseries trait for a MoniData
type of class reader Implement the Reader trait and necessary getters/setters to
make a struct an actual reader Arc A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically
Reference Counted’. BufReader The BufReader<R>
struct adds buffering to any reader. DateTime ISO 8601 combined date and time with time zone. Duration A Duration
type to represent a span of time, typically used for system
timeouts. File An object providing access to an open file on the filesystem. HashMap A hash map implemented with quadratic probing and SIMD lookup. HashSet A hash set implemented as a HashMap
where the value is ()
. Instant A measurement of a monotonically nondecreasing clock.
Opaque and useful only with Duration
. NaiveDateTime ISO 8601 combined date and time without timezone. OpenOptions Options and flags which can be used to configure how a file is opened. Path A slice of a path (akin to str
). PeaksDetector ProgressBar A progress bar or spinner ProgressStyle Regex A compiled regular expression for searching Unicode haystacks. Sender The sending side of a channel. UdpSocket A UDP socket. Utc The UTC time zone. This is the most efficient time zone when you don’t need the local time.
It is also used as an offset (which is also a dummy type). VecDeque A double-ended queue implemented with a growable ring buffer. f16 A 16-bit floating point type implementing the IEEE 754-2008 standard binary16
a.k.a “half”
format. LocalResult Old name of MappedLocalTime
. See that type for more documentation. Peak SeekFrom Enumeration of possible methods to seek within an I/O object. SocketAddr An internet socket address, either IPv4 or IPv6. Error Error
is a trait representing the basic expectations for error values,
i.e., values of type E
in Result<T, E>
.Float Generic trait for floating point numbers FloatConst FromBytes IntoEnumIterator This trait designates that an Enum
can be iterated over. It can
be auto generated using the EnumIter
derive macro. NumAssign The trait for Num
types which also implement assignment operators. NumAssignOps Generic trait for types implementing numeric assignment operators (like +=
). NumCast An interface for casting between machine scalars. NumOps Generic trait for types implementing basic numeric operations PeaksFilter Read The Read
trait allows for reading bytes from a source. Seek The Seek
trait provides a cursor which can be moved within a stream of
bytes. TimeZone The time zone. Write A trait for objects which are byte-oriented sinks. glob Return an iterator that produces all the Path
s that match the given
pattern using default match options, which may be absolute or relative to
the current working directory. median The median is the number separating the higher half of a data sample, a population, or
a probability distribution, from the lower half (reference)[http://en.wikipedia.org/wiki/Median) AsRefStr Converts enum variants to &'a str
, where 'a
is the lifetime of the input enum reference. EnumIter Creates a new type that iterates over the variants of an enum. FromRepr Add a function to enum that allows accessing variants by its discriminant