#[repr(u16)]pub enum UpnpError {
NoError = 0,
InvalidArgument = 402,
ActionFailed = 501,
ValueNotInArray = 714,
SourceIpCannotBeWildcarded = 715,
ExternalPortCannotBeWildcarded = 716,
PortMappingConflict = 718,
InternalPortMustMatchExternal = 724,
OnlyPermanentLeasesSupported = 725,
RemoteHostMustBeWildcarded = 726,
ExternalPortMustBeWildcarded = 727,
}Variants§
NoError = 0
InvalidArgument = 402
ActionFailed = 501
ValueNotInArray = 714
SourceIpCannotBeWildcarded = 715
ExternalPortCannotBeWildcarded = 716
PortMappingConflict = 718
InternalPortMustMatchExternal = 724
OnlyPermanentLeasesSupported = 725
RemoteHostMustBeWildcarded = 726
ExternalPortMustBeWildcarded = 727
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpnpError
impl RefUnwindSafe for UpnpError
impl Send for UpnpError
impl Sync for UpnpError
impl Unpin for UpnpError
impl UnwindSafe for UpnpError
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