-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary API from StreamAdaptor
A StreamAdaptor is only constructed internally in RustConnection::connect() and cannot be queried by the user. Thus, we don't need much public API for it. This commit removes everything that we do not use internally. If people want to call RustConnection::connect_to_stream() with a StreamAdaptor, that is still possible, because I left new() public. Signed-off-by: Uli Schlachter <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters