Struct ExAddPortMapping
pub struct ExAddPortMapping<'a> { /* private fields */ }
Expand description
Default-param extender for UpnpDevice::add_port_mapping_ex
.
Implementations§
§impl<'a> ExAddPortMapping<'a>
impl<'a> ExAddPortMapping<'a>
pub fn port_internal(self, value: i32) -> ExAddPortMapping<'a>
pub fn desc(self, value: GString) -> ExAddPortMapping<'a>
pub fn proto(self, value: GString) -> ExAddPortMapping<'a>
pub fn duration(self, value: i32) -> ExAddPortMapping<'a>
pub fn done(self) -> i32
Auto Trait Implementations§
impl<'a> Freeze for ExAddPortMapping<'a>
impl<'a> RefUnwindSafe for ExAddPortMapping<'a>
impl<'a> !Send for ExAddPortMapping<'a>
impl<'a> !Sync for ExAddPortMapping<'a>
impl<'a> Unpin for ExAddPortMapping<'a>
impl<'a> UnwindSafe for ExAddPortMapping<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more