pub struct DiffOp<T> {
pub code: DiffOpCode,
pub value: Option<T>,
}
Fields
code: DiffOpCode
value: Option<T>
Trait Implementations
sourceimpl<'de, T> RawDecode<'de> for DiffOp<T>where
T: RawDecode<'de>,
impl<'de, T> RawDecode<'de> for DiffOp<T>where
T: RawDecode<'de>,
fn raw_decode(buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> BuckyResult<(Self, &'de [u8])>
Auto Trait Implementations
impl<T> RefUnwindSafe for DiffOp<T>where
T: RefUnwindSafe,
impl<T> Send for DiffOp<T>where
T: Send,
impl<T> Sync for DiffOp<T>where
T: Sync,
impl<T> Unpin for DiffOp<T>where
T: Unpin,
impl<T> UnwindSafe for DiffOp<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more