MCPcopy Create free account

hub / github.com/PacktPublishing/Rust-Standard-Library-Cookbook / types & classes

Types & classes61 in github.com/PacktPublishing/Rust-Standard-Library-Cookbook

↓ 1 callersClassDoubleVec
Chapter05/src/bin/conversion.rs:6
↓ 1 callersClassGeneratorIterator
Chapter10/src/bin/generator.rs:50
EnumAgeReaderError
This is going to be our custom Error type
Chapter06/src/bin/custom_error.rs:7
EnumAllowedSpecies
Chapter04/src/bin/json.rs:27
InterfaceAnimal
Boxes enable you to use traditional OOP polymorph
Chapter05/src/bin/boxing.rs:37
InterfaceAnimal
Chapter10/src/bin/return_abstract.rs:3
ClassAustralia
Chapter05/src/bin/custom_derive.rs:22
ClassBall
Chapter05/src/bin/shared.rs:7
ClassBritain
Chapter05/src/bin/custom_derive.rs:17
ClassBurger
Chapter01/src/bin/builder.rs:35
ClassBurgerBuilder
Chapter01/src/bin/builder.rs:64
ClassCat
Chapter05/src/bin/boxing.rs:50
ClassClient
Client holds whatever state your client might have
Chapter07/src/bin/connection_handler.rs:8
ClassConnectionHandler
ConnectionHandler manages a list of connections in a parallelly safe way
Chapter07/src/bin/connection_handler.rs:14
ClassContainer
Chapter08/src/bin/pool.rs:23
EnumCrustType
You can implement default easily for your own types
Chapter01/src/bin/default.rs:51
ClassCustomSmartPointer
Chapter06/src/bin/drop.rs:3
ClassCustomer
Chapter05/src/bin/interior_mutability.rs:13
ClassDog
Chapter05/src/bin/boxing.rs:42
ClassDog
Chapter10/src/bin/return_abstract.rs:7
ClassEmail
Chapter05/src/bin/interior_mutability.rs:6
InterfaceEmailSender
Chapter05/src/bin/interior_mutability.rs:1
ClassFakeWaker
Chapter08/src/bin/bilocks.rs:11
ClassFibonacci
Chapter02/src/bin/own_iterator.rs:19
ClassFileLogger
This logger will write logs into a file on disk
Chapter06/src/bin/custom_logger.rs:12
EnumFileLoggerError
Chapter06/src/bin/custom_logger.rs:75
ClassFuturePanic
Chapter08/src/bin/errors.rs:37
ClassHelloWorld
Chapter09/src/bin/hello_world_server.rs:45
InterfaceHelloWorld
trait definitions have to be in "consumer" crate
Chapter05/src/bin/custom_derive.rs:5
ClassKid
The ball will survive until all kids are done playing with it
Chapter05/src/bin/shared.rs:4
ClassLanguage
Chapter04/src/bin/toml.rs:22
ClassManualSink
Chapter08/src/bin/sinks.rs:82
ClassMockEmailSender
Chapter05/src/bin/interior_mutability.rs:49
ClassMyFuture
Chapter08/src/bin/errors.rs:9
ClassNaiveMutex
NaiveMutex is an easy, albeit very suboptimal, implementation of a Mutex ("Mutual Exclusion"), similar to std::sync::Mutex A mutex is a lock that only
Chapter07/src/bin/atomic.rs:102
ClassNaiveMutexGuard
This is a RAII guard, identical to the one from the last chapter
Chapter07/src/bin/atomic.rs:110
ClassNameLength
Chapter01/src/bin/constructor.rs:11
ClassNewPost
Chapter09/src/bin/making_requests.rs:20
ClassNode
Chapter05/src/bin/boxing.rs:9
ClassPerson
Chapter04/src/bin/toml.rs:16
ClassPet
Chapter04/src/bin/json.rs:18
ClassPetOwner
Chapter04/src/bin/json.rs:11
ClassPizzaConfig
Chapter01/src/bin/default.rs:43
ClassPlanet
Chapter04/src/bin/serde_csv.rs:10
ClassPlayer
Chapter08/src/bin/returning.rs:15
EnumPlayerStatus
Chapter08/src/bin/returning.rs:8
ClassPost
Chapter09/src/bin/making_requests.rs:11
ClassPostCrud
Chapter09/src/bin/making_requests.rs:38
ClassPreferences
Chapter04/src/bin/toml.rs:9
ClassPrivacy
Chapter04/src/bin/toml.rs:28
ClassQuickStream
Chapter08/src/bin/streams.rs:12
ClassReader
Chapter08/src/bin/bilocks.rs:16
ClassRectangle
Chapter07/src/bin/join.rs:4
ClassSomeOsFunctionality
This is a safe wrapper around the low level struct
Chapter06/src/bin/raii.rs:9
ClassSomeOsFunctionalityGuard
Access to a locked SomeOsFunctionality is wrapped in a guard that automatically unlocks it when dropped
Chapter06/src/bin/raii.rs:20
ClassSomeOsSpecificFunctionalityHandle
This represents a low level, close to the metal OS feature that needs to be locked and unlocked in some way in order to be accessed and is usually uns
Chapter06/src/bin/raii.rs:6
ClassSquaredVec
Chapter02/src/bin/own_iterator.rs:37
EnumStatus
Chapter08/src/bin/pool.rs:16
ClassSwitzerland
Chapter05/src/bin/custom_derive.rs:14
ClassUpdatedPost
The following struct could be rewritten with a builder
Chapter09/src/bin/making_requests.rs:29
ClassWriter
Chapter08/src/bin/bilocks.rs:20