Trait cyfs_base::RawPatch

source ·
pub trait RawPatch<'de>: RawDecode<'de> {
    // Required method
    fn patch(self, diff: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>;
}

Required Methods§

source

fn patch(self, diff: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

Implementations on Foreign Types§

source§

impl<'de> RawPatch<'de> for u16

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de> RawPatch<'de> for u64

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de> RawPatch<'de> for u128

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de, T: RawEncode + RawDecode<'de> + Default, U: ArrayLength<T>> RawPatch<'de> for GenericArray<T, U>

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de, T> RawPatch<'de> for Vec<T>where T: RawDecode<'de> + RawEncode,

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de, T> RawPatch<'de> for Option<T>where T: RawDecode<'de>,

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de> RawPatch<'de> for String

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de> RawPatch<'de> for u32

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

source§

impl<'de> RawPatch<'de> for u8

source§

fn patch(self, buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>

Implementors§

source§

impl<'de> RawPatch<'de> for AesKey

source§

impl<'de> RawPatch<'de> for ChunkId

source§

impl<'de> RawPatch<'de> for HashValue

source§

impl<'de> RawPatch<'de> for ObjectId

source§

impl<'de, T: From<usize> + RawDecode<'de> + Into<usize>> RawPatch<'de> for SizedOwnedData<T>

source§

impl<'de, T: ObjectType> RawPatch<'de> for NamedObjectId<T>