You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: entrypoint.rs
    path of file: ./repos/flutter_rust_bridge/frb_codegen/src/library/codegen/generator/wire/rust/spec_generator/codec/sse
    
    the code of the file until where you have to start completion: use crate::codegen::generator::acc::Acc;
use crate::codegen::generator::codec::structs::{BaseCodecEntrypointTrait, EncodeOrDecode};
use crate::codegen::generator::misc::target::TargetOrCommon;
use crate::codegen::gener
    
pub(crate) fn create_port_param(target: TargetOrCommon, crate_name: &str) -> ExternFuncParam {
    let rust_type = match target {
        // NOTE Though in `io`, i64 == our MessagePort, but it will affect the cbindgen
        // and ffigen and make code tricker, so we manually write down "i64" here.
        TargetOrCommon::Io => "i64".to_owned(),
        TargetOrCommon::Common | TargetOrCommon::Web => {
            format!("{crate_name}::for_generated::MessagePort")
        }
    };
    ExternFuncParam {
        name: "port_".to_owned(),
        rust_type,
        dart_type: "NativePortType".to_owned(),
    }
}