Trait RTSP Address Pool ExtManual 
Source pub trait RTSPAddressPoolExtManual: IsA<RTSPAddressPool> + 'static {
    // Provided method
    fn reserve_address(
        &self,
        ip_address: &str,
        port: u32,
        n_ports: u32,
        ttl: u32,
    ) -> Result<RTSPAddress, RTSPAddressPoolResult> { ... }
}Provided Methods§
Sourcefn reserve_address(
    &self,
    ip_address: &str,
    port: u32,
    n_ports: u32,
    ttl: u32,
) -> Result<RTSPAddress, RTSPAddressPoolResult>
 
fn reserve_address( &self, ip_address: &str, port: u32, n_ports: u32, ttl: u32, ) -> Result<RTSPAddress, RTSPAddressPoolResult>
Take a specific address and ports from self. n_ports consecutive
ports will be allocated of which the first one can be found in
port.
If ttl is 0, address should be a unicast address. If ttl > 0, address
should be a valid multicast address.
§ip_address
The IP address to reserve
§port
The first port to reserve
§n_ports
The number of ports
§ttl
The requested ttl
§Returns
RTSPAddressPoolResult::Ok if an address was reserved. The address
is returned in address and should be freed with gst_rtsp_address_free
after use.
§address
storage for a RTSPAddress
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.