pub enum EncodeReplace<S, B> {
Str(S),
Bytes(B),
}
Variants§
Auto Trait Implementations§
impl<S, B> RefUnwindSafe for EncodeReplace<S, B>where B: RefUnwindSafe, S: RefUnwindSafe,
impl<S, B> Send for EncodeReplace<S, B>where B: Send, S: Send,
impl<S, B> Sync for EncodeReplace<S, B>where B: Sync, S: Sync,
impl<S, B> Unpin for EncodeReplace<S, B>where B: Unpin, S: Unpin,
impl<S, B> UnwindSafe for EncodeReplace<S, B>where B: UnwindSafe, S: 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