pub struct OptionRef<'o, T>(_);
Implementations
Trait Implementations
sourceimpl<'v, U, T: RawDiffWithContext<'v, VecDiffContext<'v, U>>> RawDiffWithContext<'v, VecDiffContext<'v, U>> for OptionRef<'v, T>
impl<'v, U, T: RawDiffWithContext<'v, VecDiffContext<'v, U>>> RawDiffWithContext<'v, VecDiffContext<'v, U>> for OptionRef<'v, T>
fn diff_measure(
&self,
right: &'v Self,
ctx: &mut VecDiffContext<'v, U>
) -> BuckyResult<usize>
fn diff<'d>(
&self,
right: &Self,
buf: &'d mut [u8],
ctx: &mut VecDiffContext<'v, U>
) -> BuckyResult<&'d mut [u8]>
sourceimpl<'o, T: RawEncode> RawEncode for OptionRef<'o, T>
impl<'o, T: RawEncode> RawEncode for OptionRef<'o, T>
fn raw_measure(&self, purpose: &Option<RawEncodePurpose>) -> BuckyResult<usize>
fn raw_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a mut [u8]>
fn raw_tail_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a [u8]>
fn raw_encode_to_buffer(&self) -> BuckyResult<Vec<u8>>
fn raw_hash_value(&self) -> BuckyResult<HashValue>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> BuckyResult<Vec<u8>>
Auto Trait Implementations
impl<'o, T> RefUnwindSafe for OptionRef<'o, T> where
T: RefUnwindSafe,
impl<'o, T> Send for OptionRef<'o, T> where
T: Sync,
impl<'o, T> Sync for OptionRef<'o, T> where
T: Sync,
impl<'o, T> Unpin for OptionRef<'o, T>
impl<'o, T> UnwindSafe for OptionRef<'o, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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