Struct differential_dataflow::operators::arrange::BatchWrapper [−][src]
pub struct BatchWrapper<T> {
pub item: T,
}Wrapper type to permit transfer of Rc types, as in batch.
The BatchWrappers sole purpose in life is to implement Abomonation with methods that panic
when called. This allows the wrapped data to be transited along timely's Pipeline channels.
The wrapper cannot fake out Send, and so cannot be used on timely's Exchange channels, which
is good.
Fields
item: T
The wrapped item.
Trait Implementations
impl<T: Clone> Clone for BatchWrapper<T>[src]
impl<T: Clone> Clone for BatchWrapper<T>fn clone(&self) -> BatchWrapper<T>[src]
fn clone(&self) -> BatchWrapper<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<T: Eq> Eq for BatchWrapper<T>[src]
impl<T: Eq> Eq for BatchWrapper<T>impl<T: PartialEq> PartialEq for BatchWrapper<T>[src]
impl<T: PartialEq> PartialEq for BatchWrapper<T>fn eq(&self, other: &BatchWrapper<T>) -> bool[src]
fn eq(&self, other: &BatchWrapper<T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &BatchWrapper<T>) -> bool[src]
fn ne(&self, other: &BatchWrapper<T>) -> boolThis method tests for !=.
impl<T: Debug> Debug for BatchWrapper<T>[src]
impl<T: Debug> Debug for BatchWrapper<T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T> Abomonation for BatchWrapper<T>[src]
impl<T> Abomonation for BatchWrapper<T>unsafe fn entomb<W: Write>(&self, _write: &mut W) -> Result<()>[src]
unsafe fn entomb<W: Write>(&self, _write: &mut W) -> Result<()>Write any additional information about &self beyond its binary representation. Read more
unsafe fn exhume<'a, 'b>(
&'a mut self,
_bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>[src]
unsafe fn exhume<'a, 'b>(
&'a mut self,
_bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>Recover any information for &mut self not evident from its binary representation. Read more
fn extent(&self) -> usize[src]
fn extent(&self) -> usizeReports the number of further bytes required to entomb self.
Auto Trait Implementations
impl<T> Send for BatchWrapper<T> where
T: Send,
impl<T> Send for BatchWrapper<T> where
T: Send, impl<T> Sync for BatchWrapper<T> where
T: Sync,
impl<T> Sync for BatchWrapper<T> where
T: Sync,