Trait scroll::ctx::TryFromCtx [] [src]

pub trait TryFromCtx<'a, Ctx: Copy = (), This: ?Sized = [u8]> where
    Self: 'a + Sized
{ type Error; type Size; fn try_from_ctx(
        from: &'a This,
        ctx: Ctx
    ) -> Result<(Self, Self::Size), Self::Error>; }

Tries to read Self from This using the context Ctx

Associated Types

Required Methods

Implementors