Trait abomonation::Abomonation

source ·
pub trait Abomonation {
    // Provided methods
    unsafe fn entomb<W: Write>(&self, _write: &mut W) -> IOResult<()> { ... }
    unsafe fn exhume<'a, 'b>(
        &'a mut self,
        bytes: &'b mut [u8],
    ) -> Option<&'b mut [u8]> { ... }
    fn extent(&self) -> usize { ... }
}
Expand description

Abomonation provides methods to serialize any heap data the implementor owns.

The default implementations for Abomonation’s methods are all empty. Many types have no owned data to transcribe. Some do, however, and need to carefully implement these unsafe methods.

§Safety

Abomonation has no safe methods. Please do not call them. They should be called only by encode and decode, each of which impose restrictions on ownership and lifetime of the data they take as input and return as output.

If you are concerned about safety, it may be best to avoid Abomonation all together. It does several things that may be undefined behavior, depending on how undefined behavior is defined.

Provided Methods§

source

unsafe fn entomb<W: Write>(&self, _write: &mut W) -> IOResult<()>

Write any additional information about &self beyond its binary representation.

Most commonly this is owned data on the other end of pointers in &self. The return value reports any failures in writing to write.

source

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.

Most commonly this populates pointers with valid references into bytes.

source

fn extent(&self) -> usize

Reports the number of further bytes required to entomb self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Abomonation for IpAddr

source§

impl Abomonation for SocketAddr

source§

impl Abomonation for bool

source§

impl Abomonation for char

source§

impl Abomonation for f32

source§

impl Abomonation for f64

source§

impl Abomonation for i8

source§

impl Abomonation for i16

source§

impl Abomonation for i32

source§

impl Abomonation for i64

source§

impl Abomonation for i128

source§

impl Abomonation for isize

source§

impl Abomonation for u8

source§

impl Abomonation for u16

source§

impl Abomonation for u32

source§

impl Abomonation for u64

source§

impl Abomonation for u128

source§

impl Abomonation for ()

source§

impl Abomonation for usize

source§

impl Abomonation for String

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl Abomonation for Ipv4Addr

source§

impl Abomonation for Ipv6Addr

source§

impl Abomonation for SocketAddrV4

source§

impl Abomonation for SocketAddrV6

source§

impl Abomonation for Duration

source§

impl Abomonation for NonZeroI8

source§

impl Abomonation for NonZeroI16

source§

impl Abomonation for NonZeroI32

source§

impl Abomonation for NonZeroI64

source§

impl Abomonation for NonZeroI128

source§

impl Abomonation for NonZeroIsize

source§

impl Abomonation for NonZeroU8

source§

impl Abomonation for NonZeroU16

source§

impl Abomonation for NonZeroU32

source§

impl Abomonation for NonZeroU64

source§

impl Abomonation for NonZeroU128

source§

impl Abomonation for NonZeroUsize

source§

impl<A: Abomonation> Abomonation for (A,)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation> Abomonation for (A, B)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation> Abomonation for (A, B, C)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation> Abomonation for (A, B, C, D)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation> Abomonation for (A, B, C, D, E)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation> Abomonation for (A, B, C, D, E, F)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation> Abomonation for (A, B, C, D, E, F, G)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation> Abomonation for (A, B, C, D, E, F, G, H)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation, Z: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation, Z: Abomonation, AA: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation, Z: Abomonation, AA: Abomonation, AB: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation, Z: Abomonation, AA: Abomonation, AB: Abomonation, AC: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation, Z: Abomonation, AA: Abomonation, AB: Abomonation, AC: Abomonation, AD: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation, Z: Abomonation, AA: Abomonation, AB: Abomonation, AC: Abomonation, AD: Abomonation, AE: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<A: Abomonation, B: Abomonation, C: Abomonation, D: Abomonation, E: Abomonation, F: Abomonation, G: Abomonation, H: Abomonation, I: Abomonation, J: Abomonation, K: Abomonation, L: Abomonation, M: Abomonation, N: Abomonation, O: Abomonation, P: Abomonation, Q: Abomonation, R: Abomonation, S: Abomonation, T: Abomonation, U: Abomonation, V: Abomonation, W: Abomonation, X: Abomonation, Y: Abomonation, Z: Abomonation, AA: Abomonation, AB: Abomonation, AC: Abomonation, AD: Abomonation, AE: Abomonation, AF: Abomonation> Abomonation for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF)

source§

unsafe fn entomb<WRITE: Write>(&self, write: &mut WRITE) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T> Abomonation for PhantomData<T>

source§

impl<T: Abomonation> Abomonation for Option<T>

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 0]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 1]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 2]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 3]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 4]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 5]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 6]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 7]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 8]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 9]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 10]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 11]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 12]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 13]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 14]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 15]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 16]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 17]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 18]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 19]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 20]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 21]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 22]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 23]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 24]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 25]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 26]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 27]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 28]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 29]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 30]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 31]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for [T; 32]

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for Box<T>

source§

unsafe fn entomb<W: Write>(&self, bytes: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation> Abomonation for Vec<T>

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

source§

impl<T: Abomonation, E: Abomonation> Abomonation for Result<T, E>

source§

unsafe fn entomb<W: Write>(&self, write: &mut W) -> IOResult<()>

source§

unsafe fn exhume<'a, 'b>( &'a mut self, bytes: &'b mut [u8], ) -> Option<&'b mut [u8]>

source§

fn extent(&self) -> usize

Implementors§