@@ -154,7 +154,7 @@ mod container {
154154 use columnar:: bytes:: { EncodeDecode , Indexed } ;
155155 use columnar:: common:: IterOwn ;
156156
157- impl < C : columnar:: Container > Column < C > {
157+ impl < C : columnar:: ContainerBytes > Column < C > {
158158 /// Borrows the contents no matter their representation.
159159 #[ inline( always) ] fn borrow ( & self ) -> C :: Borrowed < ' _ > {
160160 match self {
@@ -165,7 +165,7 @@ mod container {
165165 }
166166 }
167167
168- impl < C : columnar:: Container > timely:: Container for Column < C > {
168+ impl < C : columnar:: ContainerBytes > timely:: Container for Column < C > {
169169 fn len ( & self ) -> usize { self . borrow ( ) . len ( ) }
170170 // This sets `self` to be an empty `Typed` variant, appropriate for pushing into.
171171 fn clear ( & mut self ) {
@@ -185,7 +185,7 @@ mod container {
185185 fn drain < ' a > ( & ' a mut self ) -> Self :: DrainIter < ' a > { self . borrow ( ) . into_index_iter ( ) }
186186 }
187187
188- impl < C : columnar:: Container > timely:: container:: SizableContainer for Column < C > {
188+ impl < C : columnar:: ContainerBytes > timely:: container:: SizableContainer for Column < C > {
189189 fn at_capacity ( & self ) -> bool {
190190 match self {
191191 Self :: Typed ( t) => {
@@ -213,7 +213,7 @@ mod container {
213213 }
214214 }
215215
216- impl < C : columnar:: Container > timely:: dataflow:: channels:: ContainerBytes for Column < C > {
216+ impl < C : columnar:: ContainerBytes > timely:: dataflow:: channels:: ContainerBytes for Column < C > {
217217 fn from_bytes ( bytes : timely:: bytes:: arc:: Bytes ) -> Self {
218218 // Our expectation / hope is that `bytes` is `u64` aligned and sized.
219219 // If the alignment is borked, we can relocate. IF the size is borked,
@@ -268,7 +268,7 @@ mod builder {
268268 pending : VecDeque < Column < C > > ,
269269 }
270270
271- impl < C : columnar:: Container , T > timely:: container:: PushInto < T > for ColumnBuilder < C > where C : columnar:: Push < T > {
271+ impl < C : columnar:: ContainerBytes , T > timely:: container:: PushInto < T > for ColumnBuilder < C > where C : columnar:: Push < T > {
272272 #[ inline]
273273 fn push_into ( & mut self , item : T ) {
274274 self . current . push ( item) ;
@@ -285,7 +285,7 @@ mod builder {
285285 }
286286
287287 use timely:: container:: { ContainerBuilder , LengthPreservingContainerBuilder } ;
288- impl < C : columnar:: Container > ContainerBuilder for ColumnBuilder < C > {
288+ impl < C : columnar:: ContainerBytes > ContainerBuilder for ColumnBuilder < C > {
289289 type Container = Column < C > ;
290290
291291 #[ inline]
@@ -317,5 +317,5 @@ mod builder {
317317 }
318318 }
319319
320- impl < C : columnar:: Container > LengthPreservingContainerBuilder for ColumnBuilder < C > { }
320+ impl < C : columnar:: ContainerBytes > LengthPreservingContainerBuilder for ColumnBuilder < C > { }
321321}
0 commit comments