pub fn v1(onward_route: Route, payload: Vec<u8>) -> Self {
        Self {
            version: 1,
            onward_route,
            return_route: Route::new().into(),
            payload,
        }
    }
/// Create a new v1 transport message with empty return route
Create a new v1 transport message with empty return route
Create a new v1 transport message with empty return route
pub fn v1(onward_route: Route, payload: Vec<u8>) -> Self {
        Self {
            version: 1,
            onward_route,
            return_route: Route::new().into(),
            payload,
        }
    }
pub fn v1 ( onward_route : Route , payload : Vec < u8 > ) -> Self { Self { version : 1 , onward_route , return_route : Route :: new ( ) . into ( ) , payload , } }
Create a new v1 transport message with empty return route
Create a new v1 transport message with empty return route
onward_route
Route
payload
Vec<u8>
onward_route
Route
payload
Vec<u8>