Skip to main content

read_file

AsyncMethod
This is a method of the SandboxProtocol class in the sandbox module.
Read a file from the sandbox.

Signature

async def read_file(&self, path: &str) -> Result<Option<Vec<u8>>>

Parameters

path
&str
required
No description available.

Returns

Returns
Result<Option<Vec<u8>>>
The result of the operation.