Skip to main content

NetworksWatchDefaultResponseExt

Trait NetworksWatchDefaultResponseExt 

Source
pub trait NetworksWatchDefaultResponseExt {
    // Required methods
    fn take_network(&mut self) -> Option<NetworkToken>;
    fn into_network(self) -> Option<NetworkToken>;
}
Expand description

Required Methods§

Source

fn take_network(&mut self) -> Option<NetworkToken>

Return the resulting [’fnp_properties::NetworkToken`] or None if one isn’t present.

Source

fn into_network(self) -> Option<NetworkToken>

Convert the response into its resulting fnp_properties::NetworkToken or None if one isn’t present.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl NetworksWatchDefaultResponseExt for NetworksWatchDefaultResponse

Implementors§