-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement encrypted files transfer
This implement the whole file transfer mechanism. The code is working, but not yet optimize nor pretty. Signed-off-by: Martichou <[email protected]>
- Loading branch information
Showing
9 changed files
with
674 additions
and
112 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#[derive(Debug)] | ||
pub enum AppError { | ||
NotAnError, | ||
} | ||
|
||
impl std::fmt::Display for AppError { | ||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ||
match self { | ||
Self::NotAnError => write!(f, "not an error"), | ||
} | ||
} | ||
} |
Oops, something went wrong.