pub fn is_no_free_addresses_in_subnet(&self) -> bool {
        matches!(
            &self.kind,
            CreateMountTargetErrorKind::NoFreeAddressesInSubnet(_)
        )
    }
/// Returns `true` if the error kind is `CreateMountTargetErrorKind::NoFreeAddressesInSubnet`.
Returns `true` if the error kind is `CreateMountTargetErrorKind::NoFreeAddressesInSubnet`.
Returns ` true ` if the error kind is ` CreateMountTargetErrorKind :: NoFreeAddressesInSubnet ` .
pub fn is_no_free_addresses_in_subnet(&self) -> bool {
        matches!(
            &self.kind,
            CreateMountTargetErrorKind::NoFreeAddressesInSubnet(_)
        )
    }
pub fn is_no_free_addresses_in_subnet ( & self ) -> bool { matches ! ( self kind CreateMountTargetErrorKind NoFreeAddressesInSubnet ( ) ) }
Returns `true` if the error kind is `CreateMountTargetErrorKind::NoFreeAddressesInSubnet`.
Returns ` true ` if the error kind is ` CreateMountTargetErrorKind :: NoFreeAddressesInSubnet ` .
&self
&self