Struct preserves::value::domain::NoEmbeddedDomainCodec
source · pub struct NoEmbeddedDomainCodec;
Expand description
Use this as embedded codec to forbid use of embedded values; an io::Error is signalled.
Trait Implementations§
source§impl<D: Embeddable> DomainDecode<D> for NoEmbeddedDomainCodec
impl<D: Embeddable> DomainDecode<D> for NoEmbeddedDomainCodec
fn decode_embedded<'de, 'src, S: BinarySource<'de>>( &mut self, _src: &'src mut S, _read_annotations: bool, ) -> Result<D>
source§impl<D: Embeddable> DomainEncode<D> for NoEmbeddedDomainCodec
impl<D: Embeddable> DomainEncode<D> for NoEmbeddedDomainCodec
Auto Trait Implementations§
impl Freeze for NoEmbeddedDomainCodec
impl RefUnwindSafe for NoEmbeddedDomainCodec
impl Send for NoEmbeddedDomainCodec
impl Sync for NoEmbeddedDomainCodec
impl Unpin for NoEmbeddedDomainCodec
impl UnwindSafe for NoEmbeddedDomainCodec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more