pub fn zero_copy_context(&mut self) -> ZeroCopyContext {
        ZeroCopyContext {
            receiver: self,
            position: None,
        }
    }
/// Borrows this receiver for deserializing a message with references that refer directly to this
/// [`Receiver`](struct.Receiver.html)'s ring buffer rather than copying out of it.
///
/// Because those references refer directly to the ring buffer, the read pointer cannot be advanced until the
/// lifetime of those references ends.
///
/// To ensure the above, the following rules apply:
///
/// 1. The underlying [`Receiver`](struct.Receiver.html) cannot be used while a
/// [`ZeroCopyContext`](struct.ZeroCopyContext.html) borrows it (enforced at compile time).
///
/// 2. References in a message deserialized using a given [`ZeroCopyContext`](struct.ZeroCopyContext.html)
/// cannot outlive that instance (enforced at compile time).
///
/// 3. A given [`ZeroCopyContext`](struct.ZeroCopyContext.html) can only be used to deserialize a single
/// message before it must be discarded since the read pointer is advanced only when the instance is dropped
/// (enforced at run time).
Borrows this receiver for deserializing a message with references that refer directly to this
[`Receiver`](struct.Receiver.html)'s ring buffer rather than copying out of it.

Because those references refer directly to the ring buffer, the read pointer cannot be advanced until the
lifetime of those references ends.

To ensure the above, the following rules apply.

1. The underlying [`Receiver`](struct.Receiver.html) cannot be used while a
[`ZeroCopyContext`](struct.ZeroCopyContext.html) borrows it (enforced at compile time).

2. References in a message deserialized using a given [`ZeroCopyContext`](struct.ZeroCopyContext.html)
cannot outlive that instance (enforced at compile time).

3. A given [`ZeroCopyContext`](struct.ZeroCopyContext.html) can only be used to deserialize a single
message before it must be discarded since the read pointer is advanced only when the instance is dropped
(enforced at run time).
Borrows this receiver for deserializing a message with references that refer directly to this [ ` Receiver ` ] ( struct . Receiver . html ) ' s ring buffer rather than copying out of it . Because those references refer directly to the ring buffer the read pointer cannot be advanced until the lifetime of those references ends . To ensure the above the following rules apply . 1 . The underlying [ ` Receiver ` ] ( struct . Receiver . html ) cannot be used while a [ ` ZeroCopyContext ` ] ( struct . ZeroCopyContext . html ) borrows it ( enforced at compile time ) . 2 . References in a message deserialized using a given [ ` ZeroCopyContext ` ] ( struct . ZeroCopyContext . html ) cannot outlive that instance ( enforced at compile time ) . 3 . A given [ ` ZeroCopyContext ` ] ( struct . ZeroCopyContext . html ) can only be used to deserialize a single message before it must be discarded since the read pointer is advanced only when the instance is dropped ( enforced at run time ) .
pub fn zero_copy_context(&mut self) -> ZeroCopyContext {
        ZeroCopyContext {
            receiver: self,
            position: None,
        }
    }
pub fn zero_copy_context ( & mut self ) -> ZeroCopyContext { ZeroCopyContext { receiver : self , position : None , } }
Borrows this receiver for deserializing a message with references that refer directly to this
[`Receiver`](struct.Receiver.html)'s ring buffer rather than copying out of it.
Borrows this receiver for deserializing a message with references that refer directly to this [ ` Receiver ` ] ( struct . Receiver . html ) ' s ring buffer rather than copying out of it .
&mut self
&mut self