pub struct BlockTimeEncoder<'e>(/* private fields */);Expand description
The encoder for the BlockTime type.
Implementations§
Source§impl<'e> BlockTimeEncoder<'e>
impl<'e> BlockTimeEncoder<'e>
Sourcepub fn new(encoder: ArrayEncoder<4>) -> BlockTimeEncoder<'e>
pub fn new(encoder: ArrayEncoder<4>) -> BlockTimeEncoder<'e>
Construct a new instance of the newtype encoder
Trait Implementations§
Source§impl<'e> Encoder for BlockTimeEncoder<'e>
impl<'e> Encoder for BlockTimeEncoder<'e>
Auto Trait Implementations§
impl<'e> Freeze for BlockTimeEncoder<'e>
impl<'e> RefUnwindSafe for BlockTimeEncoder<'e>
impl<'e> Send for BlockTimeEncoder<'e>
impl<'e> Sync for BlockTimeEncoder<'e>
impl<'e> Unpin for BlockTimeEncoder<'e>
impl<'e> UnsafeUnpin for BlockTimeEncoder<'e>
impl<'e> UnwindSafe for BlockTimeEncoder<'e>
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