pub struct TaggedEncoder<E1: Encoder, E2: Encoder> {
pub tag: E1,
pub body: E2,
}
Fields§
§tag: E1
§body: E2
Trait Implementations§
Auto Trait Implementations§
impl<E1, E2> Freeze for TaggedEncoder<E1, E2>
impl<E1, E2> RefUnwindSafe for TaggedEncoder<E1, E2>where
E1: RefUnwindSafe,
E2: RefUnwindSafe,
impl<E1, E2> Send for TaggedEncoder<E1, E2>
impl<E1, E2> Sync for TaggedEncoder<E1, E2>
impl<E1, E2> Unpin for TaggedEncoder<E1, E2>
impl<E1, E2> UnwindSafe for TaggedEncoder<E1, E2>where
E1: UnwindSafe,
E2: UnwindSafe,
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