Struct bitcoin_serialize::VarIntFormatter
source · pub struct VarIntFormatter<const Mode: VarIntMode> {}
Expand description
| Serialization wrapper class for integers | in VarInt format. |
Implementations§
source§impl<const Mode: VarIntMode> VarIntFormatter<Mode>
impl<const Mode: VarIntMode> VarIntFormatter<Mode>
pub fn ser<Stream, I>(&mut self, s: &mut Stream, v: I)
pub fn unser<Stream, I>(&mut self, s: &mut Stream, v: &mut I)
Auto Trait Implementations§
impl<const Mode: VarIntMode> RefUnwindSafe for VarIntFormatter<Mode>
impl<const Mode: VarIntMode> Send for VarIntFormatter<Mode>
impl<const Mode: VarIntMode> Sync for VarIntFormatter<Mode>
impl<const Mode: VarIntMode> Unpin for VarIntFormatter<Mode>
impl<const Mode: VarIntMode> UnwindSafe for VarIntFormatter<Mode>
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more