summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@wezfurlong.org>2020-01-18 16:09:09 -0800
committerWez Furlong <wez@wezfurlong.org>2020-01-18 16:09:09 -0800
commitbd8e51d16299580408888773774d70c4d8743f4b (patch)
tree473a8ab21aeb5390cdcb6bd6cf69002572229039
parentebea1cce2a4c550ad11dbf10c20ab2379a37a0e2 (diff)
downloadssh2-rs-bd8e51d16299580408888773774d70c4d8743f4b.zip
remove now-unused Binding trait
-rw-r--r--src/util.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util.rs b/src/util.rs
index db27303..96cb1c5 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -3,14 +3,6 @@ use std::path::Path;
use {raw, Error};
-#[doc(hidden)]
-pub trait Binding: Sized {
- type Raw;
-
- unsafe fn from_raw(raw: Self::Raw) -> Self;
- fn raw(&self) -> Self::Raw;
-}
-
#[cfg(unix)]
pub fn path2bytes(p: &Path) -> Result<Cow<[u8]>, Error> {
use std::ffi::OsStr;