pub fn new(protocol_name: impl Into<Cow<'static, str>>) -> Self {
        NotifsOutHandlerProto {
            protocol_name: protocol_name.into(),
        }
    }
/// Builds a new [`NotifsOutHandlerProto`]. Will use the given protocol name for the
/// notifications substream.
Builds a new [`NotifsOutHandlerProto`]. Will use the given protocol name for the
notifications substream.
Builds a new [ ` NotifsOutHandlerProto ` ] . Will use the given protocol name for the notifications substream .
pub fn new(protocol_name: impl Into<Cow<'static, str>>) -> Self {
        NotifsOutHandlerProto {
            protocol_name: protocol_name.into(),
        }
    }
pub fn new ( protocol_name : impl Into < Cow < ' static , str > > ) -> Self { NotifsOutHandlerProto { protocol_name : protocol_name . into ( ) , } }
Builds a new [`NotifsOutHandlerProto`].
Builds a new [ ` NotifsOutHandlerProto ` ] .
protocol_name
impl Into<Cow<'static, str>>
protocol_name
impl Into<Cow<'static, str>>