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

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

Tries to read Self from This using the context Ctx

Associated Types

Required Methods

Implementors