pub struct EncodeFn(/* private fields */);
Expand description
A wrapper for an function making it implement EncodableInHeader
.
Implementations§
Trait Implementations§
Source§impl EncodableInHeader for EncodeFn
impl EncodableInHeader for EncodeFn
fn encode(&self, encoder: &mut EncodingWriter<'_>) -> Result<(), EncodingError>
fn boxed_clone(&self) -> Box<dyn EncodableInHeader>
impl Copy for EncodeFn
Auto Trait Implementations§
impl Freeze for EncodeFn
impl RefUnwindSafe for EncodeFn
impl Send for EncodeFn
impl Sync for EncodeFn
impl Unpin for EncodeFn
impl UnwindSafe for EncodeFn
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