Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion telepath-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Both methods are non-blocking and return the number of bytes transferred.
pub struct CommandMetadata {
pub name: &'static str,
pub id: u16,
pub invoke: ShimFn, // fn(&[u8], &mut [u8], &ResourceRegistry) -> Result<usize, DispatchError>
pub invoke: ShimFn, // fn(&[u8], &mut [u8], &ResourceRegistry) -> Result<DispatchOutcome, DispatchError>
pub args_schema: SchemaFn, // fn(&mut [u8]) -> Result<usize, ()>
pub ret_schema: SchemaFn, // fn(&mut [u8]) -> Result<usize, ()>
pub arg_names: &'static str, // comma-separated, e.g. "a,b"
Expand Down
Loading