Module prelude

Source
Expand description

A module that re-exports commonly used items for convenience.

The prelude module provides easy access to commonly used types, structs, and enums across various parts of the library. By including this prelude, you can reduce the number of individual imports needed in your code.

Re-exportsยง

pub use crate::err::BlobError;
pub use crate::in_logic_front::FrontLogic;
pub use crate::in_logic_front::Info;
pub use crate::out_logic_front::OutLogicFront;
pub use crate::out_stream::OutStreamError;
pub use crate::protocol::SetChunkData;
pub use crate::protocol::StartTransferData;
pub use crate::protocol::TransferId;
pub use crate::protocol_front::ReceiverToSenderFrontCommands;
pub use crate::protocol_front::SenderToReceiverFrontCommands;
pub use crate::protocol_front::SetChunkFrontData;