Struct bitcoin_net::V1TransportSerializer
source · pub struct V1TransportSerializer {}
Implementations§
source§impl V1TransportSerializer
impl V1TransportSerializer
pub fn prepare_for_transport( &mut self, msg: &mut SerializedNetMsg, header: &mut Vec<u8> )
Trait Implementations§
source§impl PrepareForTransport for V1TransportSerializer
impl PrepareForTransport for V1TransportSerializer
source§fn prepare_for_transport(
&mut self,
msg: &mut SerializedNetMsg,
header: &mut Vec<u8>
)
fn prepare_for_transport( &mut self, msg: &mut SerializedNetMsg, header: &mut Vec<u8> )
| prepare message for transport (header
| construction, error-correction computation,
| payload encryption, etc.)
|
impl TransportSerializer for V1TransportSerializer
Auto Trait Implementations§
impl RefUnwindSafe for V1TransportSerializer
impl Send for V1TransportSerializer
impl Sync for V1TransportSerializer
impl Unpin for V1TransportSerializer
impl UnwindSafe for V1TransportSerializer
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