docs: mentioned Instance early on

This commit is contained in:
əlemi 2023-09-05 01:31:57 +02:00
parent 4bf3c1c7a5
commit ed2f6688c3

View file

@ -5,8 +5,9 @@
//! This is the core library of the codemp project. //! This is the core library of the codemp project.
//! //!
//! ## structure //! ## structure
//! The main entrypoint is the [Client] object, that maintains a connection and can //! The main entrypoint is the [Instance] object, that maintains a connection and can
//! be used to join workspaces or attach to buffers. //! be used to join workspaces or attach to buffers. It contains the underlying [Client] and
//! stores active controllers.
//! //!
//! Some actions will return structs implementing the [Controller] trait. These can be polled //! Some actions will return structs implementing the [Controller] trait. These can be polled
//! for new stream events ([Controller::poll]/[Controller::recv]), which will be returned in order. //! for new stream events ([Controller::poll]/[Controller::recv]), which will be returned in order.