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