Struct ockam_core::api::Cbor
source · [−]pub struct Cbor<'a>(pub &'a [u8]);
Expand description
Newtype around a byte-slice that is assumed to be CBOR-encoded.
Tuple Fields
0: &'a [u8]
Trait Implementations
impl<'a> Copy for Cbor<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Cbor<'a>
impl<'a> Send for Cbor<'a>
impl<'a> Sync for Cbor<'a>
impl<'a> Unpin for Cbor<'a>
impl<'a> UnwindSafe for Cbor<'a>
Blanket Implementations
sourceimpl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
impl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
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