Struct ExAddPortMapping
pub struct ExAddPortMapping<'a> { /* private fields */ }
Expand description
Default-param extender for Upnp::add_port_mapping_ex
.
Implementations§
§impl<'a> ExAddPortMapping<'a>
impl<'a> ExAddPortMapping<'a>
pub fn port_internal(self, port_internal: i32) -> ExAddPortMapping<'a>
pub fn desc(self, desc: impl AsArg<GString> + 'a) -> ExAddPortMapping<'a>
pub fn proto(self, proto: impl AsArg<GString> + 'a) -> ExAddPortMapping<'a>
pub fn duration(self, duration: 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