Skip to main contentCrate deon_protocol
Source pub use error::DeonError;pub use protocol::DeonProtocol;pub use protocol::StreamReceipt;pub use transport::SecureTransport;pub use transport::TransportType;pub use transport::TcpTransport;pub use crypto::KeyStorage;pub use crypto::FileKeyStorage;pub use crypto::SecurityContext;
- crypto
- economy
- error
- protocol
- transport
- types
- receive_file
- Receive one file with one call: listen, handshake, save.
- receive_stream
- Receive a stream in one call: listen, handshake, write into an AsyncWrite sink.
- receive_stream_to_path
- Receive a stream in one call and write to a target file path.
- send_file
- Send a file with one call: connect, handshake, transfer.
- send_stream
- Stream bytes with one call: connect, handshake, transfer.
- send_stream_with_metadata
- Stream bytes with metadata in one call: connect, handshake, transfer.