summaryrefslogtreecommitdiff
path: root/src/mod.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-08 04:46:50 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-08 04:46:50 -0600
commitc50a3d09120ee4a0eefa8269eaf53350428f242c (patch)
tree0a8c4e56aaaeb60f54dbbae16df332960ea36aa2 /src/mod.rs
parent0a2e549bb30b93158af2e301ad46b134fd595e31 (diff)
Rename private_trait as sealed
Diffstat (limited to 'src/mod.rs')
-rw-r--r--src/mod.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mod.rs b/src/mod.rs
index 8f0be0e..98a9164 100644
--- a/src/mod.rs
+++ b/src/mod.rs
@@ -1,4 +1,4 @@
-use crate::proto;
+use crate::{proto, sealed::Sealed};
use std::marker::PhantomData;
pub mod io;
@@ -6,11 +6,7 @@ pub mod mount;
pub mod ops;
pub mod session;
-mod private_trait {
- pub trait Sealed {}
-}
-
-pub trait Operation<'o>: private_trait::Sealed + Sized {
+pub trait Operation<'o>: Sealed + Sized {
type RequestBody: crate::proto::Structured<'o>;
type ReplyState;
}