File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -86,10 +86,6 @@ impl AnyBuffer {
86
86
. entry ( TypeId :: of :: < T > ( ) )
87
87
. or_insert_with ( || Box :: leak ( Box :: new ( AnyBufferAccessImpl :: < T > :: new ( ) ) ) )
88
88
}
89
-
90
- pub fn as_any_buffer ( self ) -> AnyBuffer {
91
- self
92
- }
93
89
}
94
90
95
91
impl std:: fmt:: Debug for AnyBuffer {
@@ -215,14 +211,6 @@ impl<T: 'static + Send + Sync + Any> From<BufferKey<T>> for AnyBufferKey {
215
211
}
216
212
}
217
213
218
- impl < T : ' static + Send + Sync + Any > TryFrom < AnyBufferKey > for BufferKey < T > {
219
- type Error = OperationError ;
220
-
221
- fn try_from ( value : AnyBufferKey ) -> Result < Self , Self :: Error > {
222
- value. downcast_for_message ( ) . or_broken ( )
223
- }
224
- }
225
-
226
214
/// Similar to [`BufferView`][crate::BufferView], but this can be unlocked with
227
215
/// an [`AnyBufferKey`], so it can work for any buffer whose message types
228
216
/// support serialization and deserialization.
You can’t perform that action at this time.
0 commit comments