mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-09 06:47:59 -06:00
Work on manager connection system
This commit is contained in:
@@ -10,7 +10,7 @@ pub trait Stream<T>: Send + Sync {
|
||||
fn is_alive(&self) -> bool;
|
||||
|
||||
fn len(&self) -> usize;
|
||||
fn read(&mut self) -> Option<T>;
|
||||
fn read(&self) -> Vec<T>;
|
||||
|
||||
fn write(&mut self, data: T) -> Result<(), ModuleError>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user