pub trait RawPatchWithContext<'de, Context>: RawDecode<'de> {
// Required method
fn patch(
self,
diff: &'de [u8],
_: &mut Context,
) -> BuckyResult<(Self, &'de [u8])>;
}
Required Methods§
fn patch( self, diff: &'de [u8], _: &mut Context, ) -> BuckyResult<(Self, &'de [u8])>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.