Crate ad_client

Crate ad_client 

Source
Expand description

A simple 9p based client for interacting with ad

Structs§

BodyWriter
A writer for appending to the body of a buffer
BufferMeta
Metadata for an open buffer within an ad editor session.
Client
A simple 9p client for ad
SessionMeta
Metadata for an ad editor session.

Enums§

LogEvent
A message sent by the main editor thread to notify the fs thread that the current buffer list has changed.
Outcome
Outcome of handling an event within an EventFilter
Source
acme makes a distinction between direct writes to /body and /tag vs text entering the buffer via one of the other fsys files but I’m not sure if I need that initially? As and when it looks useful I can add it.

Traits§

EventFilter
An event filter takes control over a buffer’s events file and handles processing the events that come through. Any events without a corresponding handler are written back to ad for internal processing.

Functions§

list_open_sessions
List open ad editor sessions and their current state.
remove_unresponsive_sessions
Call SessionMeta::remove_socket for all currently unresponsive editor sessions.